Page 129 - C_GPT _V4 _class_6
P. 129
Saving Python Program
Follow these steps to save a Python program:
3 Select the desired location
to save the file.
1 Click on the
File menu.
Click on the Save
2 option. The Save As
dialog box appears.
4 Enter the name of the file in 5 Click on Save
the File name box. button.
The file will be saved by the given name at the selected location.
Running a Python Program
Follow these steps to run a Python program:
1 Click on Run in 2
the Menu bar. Click on Run Module option.
Hintbot
Press F5 key to run a
program in Python.
The program will execute and the output will be shown in the Shell window.
Factbot
Interactive Mode is very useful for testing
a code as it displays the errors one by one.
Imagine, comments in Python are secret messages from a wise mentor. What advice or tips
would you leave in your code for future programmers to discover?
Python 127

