Difference between revisions of "Python"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
Python package installer: | Python package installer: | ||
− | # Download ''ez_setup.py'' from: | + | # Download ''ez_setup.py'' from:<br>http://peak.telecommunity.com/DevCenter/EasyInstall<br> |
− | http://peak.telecommunity.com/DevCenter/EasyInstall | + | # from command line type ''python ez_setup.py'' to install<br><pre>$ python ez_setup.py </pre> |
− | # from command line type ''python ez_setup.py'' to install | ||
− | |||
# see the peak website for usage. Or, to get you going try the following example. | # see the peak website for usage. Or, to get you going try the following example. | ||
− | Python | + | Two Python packages used in EEI webpage & plot routines: |
− | http://pypi.python.org/pypi/kid/0.9.6 | + | # A simple and pythonic XML template language<br>http://pypi.python.org/pypi/kid/0.9.6 |
+ | # World timezone definitions, modern and historical<br>http://pypi.python.org/pypi/pytz/2008c | ||
To install the kid package using EasyInstall from the command line type: | To install the kid package using EasyInstall from the command line type: |
Latest revision as of 11:47, 3 September 2008
To start things off... Download python here:
Python package installer:
- Download ez_setup.py from:
http://peak.telecommunity.com/DevCenter/EasyInstall - from command line type python ez_setup.py to install
$ python ez_setup.py
- see the peak website for usage. Or, to get you going try the following example.
Two Python packages used in EEI webpage & plot routines:
- A simple and pythonic XML template language
http://pypi.python.org/pypi/kid/0.9.6 - World timezone definitions, modern and historical
http://pypi.python.org/pypi/pytz/2008c
To install the kid package using EasyInstall from the command line type:
$ easy_install http://pypi.python.org/packages/2.5/k/kid/kid-0.9.6-py2.5.egg
You can also install python using cygwin to access it from the cygwin shell.