top of page

Installation 

 

  • Official website of Python https://www.python.org/

  • Python documentation from https://www.python.org/doc/. 

    Installing Python
     

  • Python distribution is available for a wide variety of platforms. You need to download only the binary code applicable for your platform and install Python.If the binary code for your platform is not available, you need a C compiler to compile the source code manually. Compiling the source code offers more flexibility in terms of choice of features that you require in your installation.

  • Unix and Linux Installationne.

  • Open a Web browser and go to https://www.python.org/downloads/.

  • Download zipped source code available for Unix/Linux.

  • Extract all files.

  • run ./configure script

  • make

  • make install

This installs Python at standard location /usr/local/bin and its libraries at /usr/local/lib/pythonXX where XX is the version of Python.

       Python Environment Variables


PYTHONHOME - Location of standard libraries
PYTHONPATH - Additions to standard search path for modules
PYTHONSTARTUP - Interactive mode; commands run before first input is prompted for
PYTHONDEBUG - set nonempty to turn on python debugging
PYTHONCASEOK - Ignore case in

 

© 2015 Thirumurugan

bottom of page