Page 239 - CTS - CSA TP - Volume 2
P. 239

COMPUTER SOFTWARE APPLICATION - CITS




              5  Run Your Python Script:

                 •  After saving your script, you can run it by selecting the “Run” menu and choosing “Run Module” or using
                    the keyboard shortcut F5.
                 •  Alternatively, you can use the command Run -> Run Module from the menu.


































              6  View Output in Shell:
                 •  If your script includes print statements or generates output, you can view the results in the Python Shell
                    window, which typically opens automatically when you run the script.
                 •  If the Shell window is not open, you can open it by selecting “Shell” from the “View” menu.







































                                                           224
                              CITS : IT & ITES - Computer Software Application - Exercise 121
   234   235   236   237   238   239   240   241   242   243   244