This blog will help you how to download and Installation of python on your computer, run its built-in programming environment, and create your very first Python program.
Download Python
Select the latest version and the operation system. I am installing it on Windows 10 (64 bit)
Click the executable installer option. A .exe file will be dowloaded.
Installation of python
Step 1. Open the downloaded .exe file.
*Note: Don’t forget to check the “Add Python 3.7 to PATH option”.
Step 2. Click on Install Now option.
Once the installation is complete.
Open the command prompt and check the python version as shown below:
Now search for python on your search bar -> Select python IDLE -> Below editor will open
Installation of python is completed successfully.
Running a sample program
1. Go to IDLE -> File -> Create New File -> hello.py
2. Paste the below content :
print("Hello World") print("Welcome to Python for Beginners 2017!")
3. Save the file.
4. Open the command prompt
5. cd to the location where you have saved this file
6. Run the below command
python hello.py
8. Output is shown below :