python 3 tutorial for beginners Tutorial

Create Development Environment for Windows

Create a development environment for windows is very easy. Before installing Python on our Windows 10 machine let's first check if it installed already.  For this, we are going to first open command prompt. Press Windows+R then type CMD and then enter.
In command prompt enter "python --version". If python is installed on your machine then you are able to see it's installed version. Following image shows the output for "python --version" command.

Note: If you are able to see above error message it means either python is not installed on your machine or environment variable is not set for python. For this article, we are assuming it is not yet installed.


How To: If python is installed on your machine and wants to know how to set the environment variable for python on Windows 10 you can check this article.

For installing python we need to first download it. To download Python we are going to visit:
By default, the site will display version based on your OS. We are only going to download latest available version for Python version 3. At the time of writing this article, latest available version for Python is 3.6.4. Download it. Once the installer is downloaded successfully, double click on the installer to launch it.

Following are the different screens of Python Installer.

This is the first screen for Python Installer in this you must select the option "Add Python 3.6 to Path".  This option is going to add an entry for Python path in Windows environment variable. If Python path is available in environment variables we can execute python directly from cmd.

Note: "Add Python 3.6 to Path" message may be very based on Python installer version.

Once the installation is completed successfully, if you want to disable Path Length limit you can disable it. Finally, we again going to check the Python version using the command prompt. Open the new instance of command prompt and execute "python --version". Following images shows the output.

Python is now installed on our Windows 10 machine. What is next? Next, we are going to install Jet Brains PyCharm Community Edition on Windows 10. Why, PyCharm? I love command line tools, but I feel more comfortable with an IDE to write complex codes.

Note: Jet Brains PyCharm Community Edition is available free of cost.

To download PyCharm we need to visit:
Please select Download button below the community edition. If you have a license for Professional edition you can use the same. Once we have the installer file double click on the installer to launch. PyCharm installation is simple. Click on next-next to finish the installation.

Following are the different screens for installation process on Windows 10.

Finally, our environment is ready. In our next, article we are going to learn about How to write our first Hello Python Program.

Leave A Comment

Please login to post your valuable comments.