978-1-316-61782-3 — Cambridge IGCSE® and O Level Computer Science Programming Book for Python
KEY TERMS
tkinter: An example of a GUI toolkit which is provided as part of the standard library when you install
Python.
graphical user interface (GUI): Graphical user interfaces contain items like buttons, text entry
boxes and radio buttons.
Chapter 5, GUI applications, is an optional chapter included in this book. In it, you will learn
how to build your own GUIs and how to repurpose your algorithm solutions to work with
them. From Chapter 5 onwards, there will be some tasks provided that include making
GUIs. Although these are not required by the Cambridge IGCSE and O Level Computer
Science syllabus, repurposing your solutions to work with GUIs will make you a more flexible
programmer and allow you to produce more professional looking applications.
1.06 Additional Support
The intention of this book is to introduce programming concepts that make use of the
non-language-specific formats included in the syllabus. Python 3 is used to provide the
opportunity for you to use a real programming language to develop your understanding of
these concepts. The oicial documentation for the Python programming language can be
accessed at https://docs.python.org/3/.
A simple syntax reference guide that can be printed out and fits in your pocket is available
from the Coding Club website at
http://codingclub.co.uk/codecards/.
This textbook also has its own companion website at [companion website URL].
Summary
● Python 3 is a loosely typed programming language that is designed to encourage easily
read code.
● Python 3 comes with a simple Integrated Development Environment called IDLE.
● There are many other IDEs available, such as Wing IDE 101, which is specifically designed
for students.
● There are three main styles of programming in Python 3:
● interactive mode: quick tests and trials that can be programmed in the Python Shell
● text-based: in script mode, text-based scripts can be saved so that your applications can
be reused
● GUI applications: full, visually rich applications that can be produced in script mode.
7
Chapter 1: Python 3