The Python Coding Manual Vol 20
From Beginners to Advanced
Each section of this book has been planned to lead you through the core concepts and fundamentals of Python. There are tutorials on how to execute your code from the Windows 10 command line, and working with variables; from user input to dealing with Python errors. You will learn how to create graphics, move sprites, open and write to files, and utilise some of the best Python modules. Before long, you’ll be creating your own unique and amazing code.
Linux is a free operating system, and, inherently, an amazing base on which to start coding. Linux operating systems are the backbone of the Internet, they drive the world’s most powerful supercomputers, and it’s the operating system of choice if you own a Raspberry Pi. There’s an entire section on how to get the most from Linux in The Python Coding Manual. If you want to dip your toes in the OS waters of Linux, or you’ve just bought yourself a new Raspberry Pi 4, then this section will help you get the most from both the OS and your Python code.
We’ve put together a selection of Python code snippets and programs that you’re free to download, copy, gain inspiration from, or simply just pull apart and adapt to your own code. There’s code for creating random passwords, graphics, a text adventure, or even a game of Hangman. Use our Code Repository, and see what amazing Python programs you can create.
There’s a handful of coding projects within this book that cover animations, creating a loading screen for your code, and even tracking the International Space Station, complete with real-time latitude and longitude data displayed. To help you, we’ve also included some of the more common mistakes made when starting to code. By the end of this book, you’ll be well on your way to forging your own, personal code.