Electrical Engineering and Computer Science | 6.00 Introduction to Computer Science and Programming, Fall 2008 | Video Lectures The most learner-friendly resources about algorithms Dive Into Python OpenCourseWare economics in the New York Times In As Colleges Make Courses Available Free Online, Others Cash In the New York Times writes about how universities are funding OpenCourseWare programs as well as how businesses have sprung up around CC licensed Open Educational Resources (OER) from such programs. Regarding the latter, our CEO is quoted: On a philosophical level, the idea of making money from something available free might seem questionable. But Joi Ito, chief executive of Creative Commons, which issues the licenses defining user rights to most OpenCourseWare materials, supports the mixing of free and for-profit: “I think there’s a great deal of commercial infrastructure that needs to be created in order for this to be successful,” Mr. Ito said: “It can’t all just be free.” As readers steeped in knowledge of free culture/open content (and before it free and open source software) will recognize, this means three things. First, sharing does not preclude making money. Third, free can refer to price and freedom.
Electrical Engineering and Computer Science | 6.00 Introduction to Computer Science and Programming, Fall 2008 | Video Lectures | 1: Introduction and Goals; Data Types, Operators, and Variables MIT OpenCourseWare - Free Courses Python Introduction - Google's Python Class - Google Code Python is a dynamic, interpreted language. Source code does not declare the types of variables or parameters or methods. This makes the code short and flexible, and you lose the compile-time type checking in the source code. An excellent way to see how Python code works is to run the Python interpreter and type code right into it. $ python ## Run the Python interpreterPython 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwinType "help", "copyright", "credits" or "license" for more information.>>> a = 6 ## set a variable in this interpreter session >>> a ## entering an expression prints its value6>>> a + 28>>> a = 'hi' ## a can hold a string just as well>>> a 'hi'>>> len(a) ## call the len() function on a string2>>> foo(a) ## try something that doesn't workTraceback (most recent call last): File " Python Program Python source files use the ".py" extension. #! Running this program from the command line looks like:
Free Online Course Materials | Courses