How to enter the interactive Python console

I learned about the interactive Python console yesterday. It’s pretty cool.

To get inside, open Terminal.app and do this:

$ python

To leave the console,

>>> quit()

You can do math, and print things too!

>>> 1 + 1
2

>>> print "Hello World"
Hello World
Back to all the things!