Page 108 - Touchpad_Plus_V3.2_Class 6
P. 108

Writing a Program

                  Type the program code in Python editor 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 the Save button. The file will be saved by the given
                           name at the selected location                                        Saving a Python program




















                                                            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 the Run Module option.                                       Running a program

                  The program will execute and the output will be shown in the Shell window.












                                                                 Output



               106      Plus (Ver. 3.2)-VI
   103   104   105   106   107   108   109   110   111   112   113