Page 121 - Plus V4 with Adobe class 6
P. 121

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.








                                                                                                     #Python 119
   116   117   118   119   120   121   122   123   124   125   126