Best Python IDE, Complete Tutorial to setup Python With Pycharm
Python is getting more popular. It is so simple, elegant and easy to learn. It has the huge scope and has more demand for python developer in IT industry. It is claimed that the requirement for the skilled Python developers in IT industry is still the major concern. Google, Quora, Dropbox, Yahoo Maps, Reddit, YouTube are the few giant companies working on Python projects. For sure, there is the great future for Python developer. Let’s look at this tutorial to setup Python and configure best Python IDE.
If you are looking for career opportunities in the software industry or want to learn coding skills, starts fuelling python skills. It will be paid off one day, for sure. In this post, we see how to install and configure PyCharm as best Python IDE on Windows.
Software required to setup Python Environment on Windows:
- Python 3.4 (Latest version- you can choose any of the version as you are comfortable with)
- PyCharm IDE (Best Python IDE)
Installing Python On Windows:
Download latest version of Python from its official website. Mainly there are two Python stable and latest versions, one is python 3.4 and other is python 2.7. You can download it from its official website python.org
Once downloaded install it on the system.
I am installing python 3.4 here. So it saved in c://python34 folder by default.
Note: If you are installing Python 2.7 then it gets installed at c://python27 folder. As directory name is created according to the version of python, So it is possible to install multiple pythons on the same system. It does not create any conflict among multiple python version installed on your system. And it works independently.
Write a simple program to test if python installation successfully completed or not.
Here I am simply setting two variables with integer values and performing sum operation.
Now python installation is completed. But working on command prompt to code python program is really tedious and time-consuming task.
So I recommend you to use PyCharm IDE for Python to code programs. It will help you to integrate multiple python programs in a single project. PyCharm IDE also provides the environment to work on multiple projects.
Best Python IDE PyCharm Installation and Integration:
PyCharm is the best Python IDE provided by JetBrains. You can download PyCharm installation software from its official website Jetbrains. It is available for Linux, Windows and OS X.
Download PyCharm for window and install it on the system.
While installation you need to configure to open python file by default in PyCharm. Click on create association check box. It will associate every python file on your system with PyCharm.
You can import python projects setting if you have python setting from the previous version on your system. If you are installing python first time, choose not to have a previous version.
Hello World Python Program using PyCharm IDE:
Once installation and configuration of Pycharm complete, create a new project.
Set new project name and location for project repository where you want to save project source files.
One of the major differences I found among normal and expert programmer, expert programmer always keeps shortcuts handy. That makes their coding standard and as well as faster than the normal programmer.
You can keep in mind some of the shortcuts that require frequently.
Click right on newly created python project. Select: New >> Python File.
Write first hello world program in the new project.
print ("Hello World!");
Run the program. You can see the output in the run console as “Hello World!”
Note: Program syntax can vary as per the Python version you are using. Here I am using Python 3.4.
If you have any doubt regarding Pycharm configuration or Python setup, feel free to comment below. I will revert to you as soon as possible.