Installation of Python
For starters, in order to begin the cool stuff, coding our super incredible scripts and etc,
we need to get the proper platform to do so. We need to download and install python.
For Windows users: Download Python 3.4.3
| Download Python 2.7.10
For Linux/Ubuntu users: Visit Ubuntu Software Center
, where you can browse and install your python software
easily without terminal commands.
What is the difference between Python 2.x and Python 3.x?
The difference between 2.x versus 3.x version, is that Python 3 has minimum
libraries support regardless 2.x, where you can search and find out that, 2.x
series support so many different libraries which I can't even begin to list.
I would recommend to use both 3.x and 2.x series, to get familiar with both and you'll
be able to develop anything you want with an active compatibility on at least one of them.
Python 3 and its third-party packages lack of library variety, but doesn't mean that
lack in functionality or coding abilities. Learn both to be able to follow through advancements!
- Step 1: Run the setup and on the first slide featured, choose the path of installation
and hit 'Next'
- Step 2: In the next slide you'll see a list with packages that will be installed. Be sure
to add the last element Add python.exe to Path and hit 'Next'.(That will come handy later! Trust me!)
- Step 3: Wait the installation and click Finish.
Congrats! You've managed to install Python! It wasn't so bad, right? Ok.
In order for you to study properly, we need to apply what I love to call a "Doc-Q-Principle".
This principle states the following: It's ok for you to start coding right away and without help, but
if you want to do some serious work and with proper guidance, make documentation queries. Means that
before we begin with actual programming, we're going to apply a convention that will going to "consult
the Documentation" when is needed. Important part: Not to just find the solution and paste
it to the script, but to understand it before using it!
Are you ok with that? Awesome! Let's get to work!
Python 3 Docs
Python 2 Docs