interactivemode.txt Start your python session by the 'python' command. Note: Here, I am using prompt> to mean whatever prompt you happen to be on when you are using an interactive window, e.g., unix terminal window in my case with Mac OS X. If you are using ipython as I assume you would if you are a Bio 133 student, the prompt would look something like: In [1]: The python prompt in Mac OS X would look like this: >>> As you read the rest of the tutorial, replace the python prompt with an ipython prompt if you are using ipython; and replace the ipython prompt with a python prompt if you are using python. Here are sample sessions using python and ipython on my Mac in an interactive mode. ================== Python ============================== alee$ python Enthought Python Distribution -- www.enthought.com Version: 7.1-2 (64-bit) Python 2.7.2 |EPD 7.1-2 (64-bit)| (default, Jul 27 2011, 14:50:45) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "packages", "demo" or "enthought" for more information. >>> 3 + 4 7 >>> exit() alee$ ================== iPython ============================== alee$ ipython [TerminalIPythonApp] Staging bundled ipython_config.py from default into u'/Users/alee/.ipython/profile_default' Enthought Python Distribution -- www.enthought.com Python 2.7.2 |EPD 7.1-2 (64-bit)| (default, Jul 27 2011, 14:50:45) Type "copyright", "credits" or "license" for more information. IPython 0.11 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: 3 + 4 Out[1]: 7 In [2]: exit() alee$ ============ end of interactivemode.txt ===================== Now go back to lec_1.txt and continue. . .