Install and Run Python in Windows.


Go to python.org page on the official site and click Download Python 3.7.0 (You may see different version name).

When the download is completed, double-click the file and follow the instructions to install it.

When Python is installed, a program called IDLE is also installed along with it. It provides graphical user interface to work with Python.
Open IDLE, copy the following code below and press enter.
  1. print("Hello, World!")
    
To create a file in IDLE, go to File > New Window (Shortcut: Ctrl+N).

Write Python code (you can copy the code below for now) and save (Shortcut: Ctrl+S) with .py file extension like: hello.py or your-first-program.py.
  1. print("Hello, World!")
Go to Run > Run module (Shortcut: F5) and you can see the output. Congratulations, you've successfully run your first Python program.

Thank you :)

Comments

Popular posts from this blog

Python Matrix

Angular : List of Topics

What are the steps involved in the concreting Process?