Digital Literacy Key Stage 3 - Python



Introduction to Python

The Python software has two windows that we will use. The main window is called the Python Shell and allows you to directly write in program lines and then a return will execute them. This is good for testing one line of code.

The second window is the "Edit Window" which allows you to enter several lines of code, or a create a program, save it and then execute the code.


Starter


Opening Python

  • Open Python. It will automatically open in Shell Mode. To open Edit Mode click on Options, Configure IDLE.
  • Then in the General tab chose Open Edit Window.
  • Restart Python and it will open in Edit Mode.

 Assessment

  • I am able to open Python in both Shell and Edit Mode.