Assuming that you have installed and set up python Environment on your computer, lets create our first Python program.
You can use a simple text editor like Notepad or you can use IDE such as NetBeans or Eclipse to write the program.
Example – first python program
To run your python program, follow the below mentioned steps:
- Save the file with .py extension (Eg: mypython.py).
- Open Command prompt and navigate to the folder where your program is saved.
- Type the following command – python mypython.py
Join the newsletter to get the latest updates.