prev next 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Running Python

Go to the "Utilities" folder on your Mac and run "Terminal." It will look something like this:


Last login: Mon Jan 15 19:25:31 on ttyp1
Welcome to Darwin!
laptop:~ student$  

Now type "python" and press the return button. Your screen should look like this now:


laptop:~ student$ python
Python 2.3.5 (#1, Jan 13 2006, 20:13:11) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>  

The >>> means that python is waiting for you to program something.