Lesson 1
Lesson 1
Lesson 1
•
•
•
•
•
•
•
Python IDLE has two modes of running.
The Interactive mode gives immediate feedback to every line of code that is entered, and
is useful for testing ideas and small snippets of code.
The Script mode allows a programmer to type in many lines of Python code, and then save
the code as a single program with a file name. This file can be saved and run at any time.
However, any inputs or outputs of Python programs will always be shown in the Interactive
mode.
• Good practice is to have instances of both Interactive and Script mode
windows open side-by-side, something like this:
Interactive Script
This means that it is closer to human language than it is to ‘machine code’, the
language that all computer processors understand.
In order to convert our Python programs into machine code we use a translator, which
is simply another computer program.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Resources’ Links
Recap
Success Criteria