Written as an illustrated, step-by-step guide, this book will introduce you to Python with examples using the latest version of the language.
You'll begin by learning to set up your Python environment. The next few chapters cover the basics of Python such as language classifications, Python language syntax, and how to write a program. Next, you will learn how to work with variables, basic data types, arithmetic, companion, and Boolean operators, followed by lab exercises. Further, the book covers flow control, using functions, and exception handling, as well as the principles of object-oriented programming and building an interface design. The last section explains how to develop a game by installing PyGame and how to use basic animation, and concludes with coverage of Python web development with web servers and Python web frameworks.
Included is a growing repository of sample source code, bonus material for each chapter, and model solutions to lab exercises to further enhance your learning experience.
The Absolute Beginners Guide to Python Programming will give you the tools, confidence, and inspiration to start writing Python programs. If you are a programmer, developer, or a student, or someone who wants to learn on their own, this book is for you.
What You Will Learn
Gain an understanding of computer programming
Understand different data and data types
Work with Classes and OOP
Build interfaces, simple games, and web development with Python
Who This Book Is For
Software programmers, developers or students, or anyone who wants to learn Python programming on their own.