There is always a little bit of confusion on how to install Python, what python editor, and an interpreter to use for writing python code. I use the spyder editor, which comes together with the Ipython interpreter. Python, Spyder, and Ipython can be easily installed all together through the Anaconda bundle. Moreover, that is precisely what we will see in this article.

However, if you prefer to use the default Python editor and interpreter, skip this article and check out another article on how to install python.

We will see how to download and install Python, and I'll also show you how to install Python Libraries. Moreover, if you don't know what Python libraries are.

What is a python library?

Python the library is like an extension that provides extra functionalities that are not installed with the default installation of Python.

For instance: If you wanted to do musical analysis using Python you'd need to install an external library because my phone cannot have everything. That way, it would get quite a heavy selection. So downloading and installing Python and libraries is the idea of this lecture. 


How to install python via anaconda

The page you're seeing now is the official Python web page, and here you can download Python or read the Python documentation and also talk to the Python community for any help or questions. If you go to the download menu, you'll see menu options where you can download the platform you can choose to download Python.




But I would suggest you actually download a python bundle that does not contain Python only but also contains an editor for a platform which is called Spider.

What is Editor in Python?

An editor is some sort of interface where you write the Python code called a bundle. I'm talking about it called an Anaconda.

How to Download Anaconda in python?


So Anaconda community offers the package for the previous Python version 2.7 but also for the latest 3.4 version, and I'll grab the latest version, of course. I'm one we know, so I wouldn't file up for Windows. Downloading has started, so this will take some time, depending on your internet connection speed.

Go ahead and execute the file now before you do the same install command, first uninstall any existing Python installations that you might have. You might also keep two pythons in your system if you like, but then when you install Python libraries, you might get confused about which of Python's use of the library for.

So where did you solve the library? Did you install that in an anaconda or an existing file that you had so as to clear that confusion? You need to know how environment variables work. So you have to change the environment variables on your computer.

Therefore I would recommend you uninstall your current Python and install this new one. Or you can even choose to keep your existing Python and not install the Anaconda package at all. But when you need to install the Spyder editor or other editors using alternative ways manually. 


So back to our Anaconda bundle, double click then for the installation wizard. So this is the path where Python and its libraries will be installed, and just leave these options checked as they are and wait a while until the installation has finished, so the installation went smoothly on my side, and I'll click Finish here that's it.


If you do any boot on your site as well, you should be able now to access Python through your command line (Win + R) and then write cmd for the Command line.

 So this is my command line in Windows, and if I type Python, then the Python console will show up, and here we can write interactive python code. Interactive means that you write and execute single lines of code. And this is good for testing code.

For instance, let's find now the sum of all five and six. You are typing in the code and hit enter, and you get the result immediately. You can also write scripts of code in an editor and execute victorious Script at once, but we will cover that issue later.

So this year is the most simple python console, and you can execute whatever Python code that you want in the console. However, for more efficiency, more advanced editors are recommended, and Spider is one of them.

As I mentioned earlier, a spider was installed along with Python via the Anaconda bundle. And you can't find Spider on your computer programs. Here's mine, and I'm opening it now. I'll tell you more about Spider in another lecture, so for now, I'll just mention a few things.