In this chapter we will introduce the Python language. At this stage we’re only interested in understanding the format or syntax of the Python language and its keywords. Python is an interpreted language, meaning that it requires another program called an interpreter to run any code that we write.
© Sloan Kelly 2019
Sloan KellyPython, PyGame, and Raspberry Pi Game Developmenthttps://doi.org/10.1007/978-1-4842-4533-0_33. Introducing Python
Sloan Kelly1
(1)
Niagara Falls, ON, Canada
The Python interpreter program is called Python and is an executable program. When you run Python from the command line by itself then you will see the following:
pi@raspberrypi ∼ $ python
Python 2.7.9 (default, Jan 13 2013, 11:20:46)
[GCC 4.9.2] on linux2
Type "help", "copyright", ...
Get Python, PyGame, and Raspberry Pi Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.