(Summary)
[Lecture video, #1]
Save your program definitions, then run the program in Python:
To run the program and then quit:
$ python3 MyProgram.py
To run the program, loading the definitions, but stay in the Python shell so you can continue testing your functions:
$ python3 -i MyProgram.py
The -i is for “interactive.”
[Lecture video, #2]
idle3 for Python 3), which combines a text editor and Python shell in a simple IDE (Integrated Development Environment). IDLE is more tightly connected with Python than Gedit.