PYTHON PROGRAMMING : Environment Setup.

in tutorial •  6 years ago 

Python-Programming-Project.png

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

python1.jpg

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.

upvote gif.gif

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

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 you like SteemitBoard's project? Then Vote for its witness and get one more award!

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.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

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:

Presentamos el Ranking de SteemitBoard
Introducing SteemitBoard Ranking

Support SteemitBoard's project! Vote for its witness and get one more award!

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:

SteemitBoard Ranking update - Steem Power, Followers and Following added

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kerry234! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 17000 upvotes. Your next target is to reach 18000 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kerry234! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 18000 upvotes. Your next target is to reach 19000 upvotes.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kerry234! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

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!

Thank you for the witness votes you made to support your Steem community and for keeping the Steem blockchain decentralized

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:

Use your witness votes and get the Community Badge
Vote for @Steemitboard as a witness to get one more award and increased upvotes!