Page 122 - Trackpad_V5_Book 6
P. 122

OPENING A SAVED PYTHON PROGRAM

            To open a previously saved program, follow the given steps:


                        1  Click on the File menu.










                                                                              3  Select the program to be
                                                                             opened or type the name in
                                                                             the File name: box.








                        2  Click on Open option.                      4  Click on the Open button.




                      EXITING PYTHON IDLE

            After we are done writing our program, we can exit Python IDLE. To exit from Python IDLE, follow
            the steps given below:


                    1  Click on the
                   File menu.


                                                                          Subject: Exit Python IDLE

                                                                          To exit Python IDLE. Type exit() in
                                                                          front of the command prompt and
                    2  Click on the                                       click on OK button.
                   Exit option.





                      MORE PROGRAMS


            Program 1. Write a program to print your name.












            120   Pro (Ver. 5.0)-VI
   117   118   119   120   121   122   123   124   125   126   127