Hello guys!
This article is the second in this series. In this I am explaining how to setup the environments for Python scripts in several environments.

Getting Theme

For getting the Python theme, kindly go through my previous articles:

Environment and setups

As we already know, we need various types of setups and environments for a specific type of programming language and so it is Python. So let's have a look at how you can do that step-by-step in your machine.

Local Environment Setup

Here are some environments, where you run your Python scripts easily. It's a long list consisting of many environments. Let's have a look:
And several others too.
(This article will explain how you can easily create an environment in Windows, Mac and Linux environments. So lets's explore them.)

Finding Python

Looking for Python? Don't panic, simply visit http://www.python.org/
And you will get each and every piece of information regarding Python, like tutorials, documentations, snippet, latest news, version details and so on.
Getting Things Done
Now to explain how to set the environment up in several environments.
Python | In Windows
Just use the following simple procedure and let Python do everything for you:
(Now let's go through the installation in a Mac.)
Python | In Mac
Just use the following simple procedure and let Python do everything for you:
(Let's now have a look at getting things done in a Linux Machine.)
Python | In Linux
Just use the following simple procedure and let Python do everything for you:

Setting up Path in Environments

Path | In Windows
You can find the path name in Windows as "PATH" (it isn't case sensitive in Windows).
Use the following procedure,
Path | In Mac
In a Mac machine, the installer itself handles the Path details for you. So you don't need to worry about that if you are having Mac with you.
But one needs to invoke the Python Interpretar. You can invoke the Python interpretar from any directory (but you must add the Python Directory to your Path).
Path | In Linux
You can find the path name in Linux the same as for "PATH" in Windows (but here it will be case sensitive).
Use the following procedure:

Running Python

There are three approaches for this, I'll explain all but the choice will be always yours.
For invoking you can do any of the following.
In Windos: C:>python script.py
In Linux: $python script.py
Here's a look.
So let's have a look at various IDEs.
IDE | Windows
PythonWin, PyScripter are windows interfaces for Python in Windows. Both of these are GUI based.
IDE | MAC
The MAC version of Python is avilabe from the official Python website.
IDE | Linux
IDLE is the best GUI basd IDE for Python in Linux.

Guidelines from my side

Moto

“Keep calm and code Python”
I tried to make this an interesting and interactive article and wish you guys will like that, meanwhile if you have any suggestions then your welcome.
Until the next part, keep sharing!

Happy Learning.
<<Prev Part Next Part>>