This part of the workshop will explore the following topics:

  • Conditional Statements
  • Looping Statements
  • Exception Handling Statements
  • Functions

Find the script "C:\Scripting_Class\Workshops\W-02A.py".

  • Right-click on the script file and Edit with IDLE.

Execute the Python script W-02A.py from the Run menu's "Run Module" option, or by pressing F5.



Follow the instructions in the W-02A.py script. You will be editing the script and executing it from IDLE (Python GUI).

  • Keep the IDLE script window and the Python Shell open during this part of the workshop. You can save your script edits by pressing Ctrl+S on the keyboard or selecting FileSave from the menu. You can execute the script by selecting the "Run Module" option from the Run menu, or by pressing F5.
  • If you close the script window, close the Python Shell and restart this part of the workshop as in Step 1.
  • You may skip tasks 2.5, 4.5, and 4.6 in order to complete the workshop. If time remains, you may complete those tasks.