Sebastian Thrun (who taught the free online course “Intro to AI” at Stanford last semester) has quit his tenured professor position at Stanford and started his own online university called Udacity. “Now that I saw the true power of education, there is no turning back. It’s like a drug. I won’t be able to teach 200 students again, in a conventional classroom setting.”
Udacity’s first two classes are “Programming a Robotic Car” and “Building a Search Engine”. Both classes are 7 weeks long and will have online lectures, exams, and programming assignments in Python.
Clarification: he notes that he quit his tenured position to do more work at Google and continues to be a non-tenured professor at Stanford.
Make sure python is referenced in your Path: < my python path >\python.exe (where < my python path > is the directory where you installed python, such as "C:\Python26").
Make sure IPython is installed (from here: http://ipython.scipy.org/moin/Download)
Make sure PyReadline is installed (from here: https://launchpad.net/pyreadline/+download)
In Console2, right-click go to Edit –> Settings… –> Tabs Add new tab with
Icon: < my python path >\DLLs\py.ico
Shell: cmd.exe /k "< my python path >\Scripts\ipython.py -p sh"
Startup dir: C:\ (or wherever)
Hit ok and in your Console just go to File –> New Tab –> iPython and you’re off and running!
1. Create a directory for your project (e.g. “hello”). 2. In this directory, create a hello.py file with this code:
from flask import Flask
app = Flask(__name__)
return "Hello World!"
if __name__ == "__main__":
3. Download and install latest setuptools for your version of python.
4. Download latest flask, werkzeug, and jinja2, and decompress each in their own directory in your hello project like this:
Note: Make sure the files are decompressed so the setup.py is in the root of each folder.
5. In the cmd shell for your hello project, run
7. if all is well, you should see
* Running on http://127.0.0.1:5000/
8. Finally, you should see “Hello World!” in your browser at http://127.0.0.1:5000