Page 105 - Plus_V2.2_C6_Flipbook
P. 105

Writing a Program

                 Type the program code in Python window.










                                                      Typing Python program code

                 Saving Python Program

                 Follow these steps to save a Python program.
                 Step 1:   Click on the File menu.

                 Step 2:  Click on the Save option. The Save As dialog box appears.
                 Step 3:  Select the desired location to save the file.
                 Step 4:  Enter the name of the file in the File name box.
                 Step 5:   Click on Save button. The file will be saved by the given name at   Saving a Python program
                         the selected location
























                                                           Save As dialog box
                 Running a Python Program

                 Follow these steps to run a Python program:
                 Step 1:   Click on Run in the Menu bar.
                 Step 2:  Click on Run Module option.












                                                           Running a program



                                                                                        Introduction to Programming  103
   100   101   102   103   104   105   106   107   108   109   110