PYTHON PROGRAMMING : Environment Setup.
INSTALLING PYTHON
Python distributions are available in wide varieties of platforms. All you need to do is download the binary code applicable for your platform and install python. If the binary code for your platform is unavailable, you will need a C compiler to compile the source code manually. By doing this it offers more flexibility in terms of choice of features that you require in your installation.
Below are steps to install python on various platforms:
UNIX and LINUX Installation:
Step 1: Open a web browser and go to https://www.python.org/downloads/
Step 2: Follow the above link to download zipped source code available for Unix/Linux
Step 3: Download zipped files and extract files.
Step 4: Run ./configure script
Step 5: Make
Step 6: Make install
Tip: This installs python at standard location /usr/local/bin
WINDOWS INSTALLATION
Step 1: Open a web browser and go to https://www.python.org/downloads/
Step 2: Follow the link for the windows installer pythonABC msi file where ABC is the version you need to install.
Step 3: To use this installer python-ABC msi, the windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports msi.
Step 4: Run the downloaded file. This brings up the Python install wizard which is really easy to use. Just accept the default settings and wait till installation is done.
Setting up PATH:
The path variable is named as PATH in Unix or path in Windows (Unix is case sensitive; Windows is not)
UNIX/LINUX PATH:
Step 1: 'In the csh shell' type setenv PATH '$PATH:/usr/local/bin/python' and press enter.
Step 2: 'In the bash shell (Linux)' type export PATH='$PATH:/usr/local/bin/python' and press enter
Step 3: 'In the sh or ksh shell' type PATH='$PATH:/usr/local/bin/python' and press enter.
Stay tuned for next tutorial on Python Programming Language.
Congratulations @kerry234! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - The results, the winners and the prizes
Congratulations @kerry234! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @kerry234! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
SteemFest³ - SteemitBoard support the Travel Reimbursement Fund.
Congratulations @kerry234! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
Congratulations @kerry234! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
Congratulations @kerry234! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @kerry234! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @kerry234! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Congratulations @kerry234! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!