Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 88 - 2617_JSSPS_C-8
P. 88

    Saving Python Program

                  Follow these steps to save a Python program:

                                   3   Select the desired location
                                       to save the file.

                              1   Click on the
                                  File menu.

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

                  Running a Python Program

                  Follow these steps to run a Python program:

                    1   Click on Run in                                       2
                        the Menu bar.           Click on Run Module option.

                                                                                                       Hintbot

                                                                                              Press F5 key to run a
                                                                                               program in Python.

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

                                                                                    Factbot

                                                                              Interactive Mode is very useful for testing
                                                                              a code as it displays the errors one by one.

                                     Imagine, comments in Python are secret messages from a wise mentor. What advice or tips
                                     would you leave in your code for future programmers to discover?

                     86     Premium Edition-VIII

| 83 84 85 86 87 88 89 90 91 92 93 |