Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 132 - 2625 PortGPt V2.1
P. 132

    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
                              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 Run Module option.

                                                                Running a program
                      130   Premium Edition-VI

| 127 128 129 130 131 132 133 134 135 136 137 |