With PyCharm

  1. See this video

Without PyCharm but with Python in the System Path

  1. Use File Explorer to open the folder containing the source code file
    Image
  2. Go to the File menu and choose the Open Windows PowerShell option
    Image
  3. Type python filename then press <ENTER>
    Image

On a Lab Computer or without PyCharm or Python in the System Path

  1. Add the following line to the end of your python program:
  2. Use File Explorer to open the folder containing the source code file
    Image
  3. Double click on the filename