About this introduction:
A brief introduction about Python as a programming language
Python and pip installation in different OS systems
Using python pip to install python libraries for different OS systems
Where can I write python code?
A brief introduction about Python as a programming language
Python is a high-level programming language and it was mainly developed to allow a better code readability and python syntax allow programmers to write a concept in fewer lines of code.
For other words, python is excellent for fast programming development!
There are two python versions: Python 2 and Python 3. These two versions are different from each other because they have different syntax and different libraries…
The version you choose it’s up to you, depending on which libraries you want to use…
If you don’t know what version you should choose i personally recommend you to choose Python 3, because it has more libraries implemented than Python 2, but if you need to use a specific Python 2 library, then you should work with Python 2.
In the python guides of this website i will use Python 3!
Just a quick note: Python 2 is legacy, Python 3 is the future…
_____________________________
Python and pip installation in different OS systems
You can either install python 2 and python 3 using the following website:
You can install python in any OS (windows, mac and linux):
For windows and mac users just download the setup from website, for linux users open the terminal and type the following:
Windows & Mac installation:
For both, you just only need to download the file from the website above and install it…
Careful on windows installation (Important!!):

Make sure you have a tick on the box “Add Python 3.7 to PATH” and then “install now”
Python Path is important because this allows you to use pip in command line to install libraries…
On windows, pip should be already installed and the same for Mac… but if you don’t have installed it on Mac just type this command in terminal:
$ sudo easy_install pip
Linux installation:
(Python 3 installation – linux):
$ sudo apt-get update $ sudo apt-get install python3.7
(Python 2 installation – linux):
$ sudo apt-get update $ sudo apt-get install python2
To install pip on linux just type the following on the command line:
(Python 3 pip installation – linux):
$ sudo apt-get install python3-pip
(Python 2 pip installation – linux):
$ sudp apt-get install python-pip
_____________________________
Using python pip to install python libraries for different OS systems
Python pip allows you to install libraries that python doesn’t have in installation folder.
Now lets see how do you install libraries using pip in different OS systems:
Using pip – Windows, Mac and Linux
Open command line or terminal and write:
(For Python 3 library):
pip3 install library
(For Python 2 library):
pip2 install library
Note that “library” is the name of the library you want to install…
_______________________________
Where can i write python code?
To write your python code you can use:
- PyCharm(it has alot of features to help you develop your code…);
- Sublime Text 3 (it is a simple code editor);
- Python Idle (it comes with the installation of python)
- Visual Studio
- Spyder (python scientific development)
- Thonny (good for python beginners/starters)