Wednesday, 20 September 2017

Installing Python in your Windows computer

I will dive straight into the topic without writing much. Follow these steps : -

1.     Download the latest Python installer from the official site
2.     Make sure you use the same architecture of the installer as of your PC. If you are not sure about your system architecture, then use the 32-bit version.
3.     After you have downloaded it double click the installer to execute it.
4.     Click on Next.
5.     Make sure the following are ticked-
1.     Associate files with Python
2.     Create shortcuts for installed applications
3.     Add Python to environment variables
4.     Precompile standard library
           6.     Wait for installation to complete.

Writing your first Python program

After installation is complete write your first python program to check if installation is completed.
Open up a text file and write the following line-
print("Hello World!!")

Save the file as and run it from command prompt using python If Hello World!! is displayed correctly then your Python installation is correctly running and complete. 


Congrats!! Now you have installed Python in your PC. You are now one step closer to becoming a Python Guru.

No comments:

Post a Comment

Gesture driven Virtual Keyboard using OpenCV + Python

Hello Readers, long time no see. In this tutorial, I will be teaching you how to create a gesture driven Virtual Keyboard with OpenCV and P...