Page 126 - TP_Plus_v4_Class6
P. 126

Creating a New File

              Open the Python IDLE window and follow these steps to create a new file:

                                     1   Click on the File
                                         menu.                               Click on the New   2
                                                                             File option.















              Writing a Program

              Type the program code in Python window.














              Saving Python Program

              Follow these steps to save a Python program:

                                                                                       Select the desired location   3
                                                                                       to save the file.
                    1   Click on the  File
                        menu.


                    Click  on  the  Save
                    option. The Save As
                2
                    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.









                  124  Plus (Ver. 4.0)-VI
   121   122   123   124   125   126   127   128   129   130   131