PythonLib installation instructions



PythonLib as a library of Python programs and modules used by any of my Python programs.  Therefore  you need to do the following to make  them working:



  1. Python interpreter should be installed on your system. Type 'python' on command line. If you see output like:

    Python 2.4 (#1, Mar 22 2005, 21:42:42)

    [GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>>

    - your Python is working OK (this is an example of typical output of Python interpreter startup, numbers don't matter).
    - hit Ctrl-D to exit Python


  2. Copy the PythonLib directory to any convenient location on your computer.


  3. Add the following lines into your .cshrc file:  


    setenv PYTHONPATH  /your_location/PythonLib

    set path = (. $path  /your_location/PythonLib )


  4. Restart C-shell interpreter:  source ~/.cshrc


  5. Test installation
    - type PythonLib_test.py
    - you should see a message:
     PythonLib is installed!


    Back to index