About the Dictionary
Most Python code examples on the web are too complex for the majority of 10-18 Year old students.
The basic programming mechanics can be understood but the examples that illustrate them are mostly
aimed at those with advanced Maths skills.
This dictionary aims to keeps illustrations simple with as little maths as possible.
The dictionary uses Python 3
Python dictionary for students was started by Phil Bagge who is teaching a strand of Computing Science to pupils at three schools in the UK. You can view information about the project at code-it.co.uk
Are you a pupil or teacher learning Python and you want to add your examples and code fragments? Email Phil with your code.
If you need to print things to the screen use print.
Do you want your program user to input information into the program?
If you want your program to open a browser see webbrowser.
If you want to store or group information list is for you.
Add a random element to so many programs.
Pause a program with time.
Play a Windows system sound or a wave file with winsound.
End a program in the middle of the script with exit.
Draw things in a window with turtle.
Organise your work with functions
Animate shapes on a window with tkinter