Python IDE for windows:
In this article we are going to learn about what is IDE (Integrated Development Environment) and why do we need it? Which is the best python IDE available for windows platform. We are going to download and install Python IDE for windows. i.e PyCharm.
How to run python program without IDE:
Basically you can write your python code in text file, using any text editor and save it with .py extension. To explain this I’ll write small hello world program in text file. After that I will show you how to run it.
- Launch the notepad application which is basic text editor available with windows.
- Write the following line of code into it. print(“Hello World”)
- Save this file with name “MyFirstProgram.py” with .py extension
- Now to run this program launch the command prompt.
- In command prompt write: python <Drag your file>
- You can see that your MyFirstProgram.py python program is executed and it has printed “Hello World” in command prompt.
What is IDE (Integrated Development Environment) :
So guys after going through above example we have understood how to write the python program and execute it. Now the question arise that why do we need and IDE? so to answer that let’s first understand what is IDE:
IDE is basically a software tool available in which you can write, edit, compile/interpret and execute your code without launching any other application. IDEs are very useful since while writing your code they also assist you smartly providing assistance in code completion, error highlighting etc.
As we saw in our example, for writing the python program we used “Notepad” and to execute it we used command prompt. Guys this practice is okay till you are working with small projects, but when your code gets bigger then it becomes very tough to write and execute the code without IDE. There are many IDEs are available for different languages like Eclipse, Microsoft Visual Studio, NetBeans for writing code of Java, JSP , PHP, VB etc.
Python IDE for windows platform | Download PyCharm:
PyCharm is developed by Jetbrains. So you can download it directly from their website or by clicking on the following link: Download PyCharm
There two editions of pycharm are available to download. One is professional edition and other is community edition. Professional edition is paid version. which is mostly preferred by professional developers and companies. Pycharm community edition is freeware version and I would suggest you to download it, for the learning purpose.
Now once your installer exe is downloaded. Then installation of Pycharm is very easy. Like any other software you just have specify the installation directory. Accept the term and conditions click on Next button few times and you are done with the installation of pycharm.
So guys this was all about the python IDE for window. i.e PyCharm. If you are having any doubt related to pycharm then please let me know. If you want to know how to install python, then please go through the earlier article Downloading and installing Python.