|
Python Interpreter Version |
|
|
Contributed by herbertj
|
|
Friday, 23 September 2005 |
|
In the CS Linux Lab and on linux.cecs.pdx.edu there are multiple versions of python currently installed.
In order to use python 2.3 you can run /usr/bin/python -or- /usr/bin/python2.3
[herbie@mj /usr/bin]$ python Python 2.3.5 (#1, Aug 25 2005, 09:17:44)
[herbie@mj i/usr/bin]$ python2.3 Python 2.3.5 (#1, Aug 25 2005, 09:17:44)
To use python 2.4 run /usr/bin/python2.4
[herbie@mj /usr/bin]$ python2.4 Python 2.4.1 (#1, Sep 16 2005, 04:35:20) In python scripts you can also select which version of python to use: For python2.3 use: #!/usr/bin/env python -or- #!/usr/bin/env python2.3 For python2.4 use: #!/usr/bin/env python2.4
|
|
Last Updated ( Friday, 23 September 2005 )
|