Teaches you to program in the powerful Python language – the language used to program the Raspberry Pi. Create your own executable programs by copying the book’s examples.
View first chapter and Table of Contents – FREE!
Python in easy steps, 2nd edition instructs you how to program in the powerful Python language, giving complete examples that illustrate each aspect with colourized source code.
Python in easy steps, 2nd edition begins by explaining how to install the free Python interpreter so you can quickly begin to create your own executable programs by copying the book’s examples. It demonstrates all the Python language basics before moving on to provide examples of Object Oriented Programming (OOP) and CGI scripting to handle web form data. The book concludes by demonstrating how you can use your acquired knowledge to create and deploy graphical windowed applications.
Python in easy steps, 2nd edition makes no assumption you have previous knowledge of any programming language so it’s ideal for the newcomer to computer programming. It has an easy-to-follow style that will appeal to programmers moving from another programming language, and to the student who is studying Python programming at school or college, and to those seeking a career in computing who need a fundamental understanding of computer programming.
The Python 3.x language is under active development so frequent new releases are made available as small improvements are added to the language and Python in easy steps, 2nd edition features the very latest versions of Python at the time of publication. Python development is one of evolution, rather than revolution, so the examples provided in the book can be used in subsequent releases – simply download the latest version of Python then follow the easy steps.
Python is the language used to program the Raspberry Pi – covered by Raspberry Pi in easy steps and Raspberry Pi 3 in easy steps
This second edition is updated to cover Python 3.7.
About the author
Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.
Freely download the original source code for checking against your own work from our Downloads page
Revisions (all code is correct in code examples for downloading):
(Page corrections below have been incorporated in the ebook version from 22 July 2022 onwards)
Further revised pages
Revised pages for 2019 reprint:
Revised pages for 2018 original print: