CSE 399-005: Python Programming, Spring 2006
Online textbooks and tutorials
- Tutorials
- Textbooks
- References
- Special Topics
Using Python
- Using Python on SEAS machines
Our default Linux machine to work on is eniac-l.seas.upenn.edu.
The default version of Python there is 2.3.5.
To use Python 2.4.2, you can either:
- always type
python2.4.2, or
- add one of the following lines to
the end of your
~/.bashrc file:
- (recommended)
export PATH=/usr/local/python/2.4.2/bin:$PATH, or
alias python='python2.4.2'
then login again (or type source ~/.bashrc).
From now on, python will point to 2.4.2.
- Installing Python on your own machines
It is pretty straightforward to install Python 2.4.2 on Windows, Mac, and Linux machines. Please refer to this page.