To see where the system python is installed : $ python >>> import sys >>> sys.path The default place to put local modules : >>> sys.prefix '/usr' $ cd /usr/lib/python2.4/site-packages/ $ ls See lots of 'em $ cd /usr/local/lib/python2.4/site-packages/ Nothing by default To install the authors package site-wide : $ su $ cd /var/www/cs/htdocs/courses/fall2006/python/book_code/ppitcs_code $ cp graphics.py /usr/local/lib/python2.4/site-packages/ Check : # start X11 on mac laptop$ ssh -X cs cs$ cd ~ cs$ python >>> import graphics >>> win = graphics.GraphWin() # should see a window pop up For students: just make sure the graphics.py file is in the same directory as your command prompt. The file is on the book CD, or you can get it from book_code/ppitcs_code/graphics.py in the course directory