Python Developer — Full Teaching Book
Learn Python from your first program to building real tools of your own, so you can automate everyday tasks, work with data, and build software you can actually use.
What this book is about
This book takes you from your first Python program to building real tools you can actually use. You will learn values and types, strings and numbers, decisions and loops, lists and dictionaries, functions, files, and classes — then move into testing, debugging, working with APIs and databases, web foundations, and packaging your work.
Along the way you will work with real examples you can run yourself, understand how Python programs are put together, and finish by planning and building a complete command-line task-and-notes manager of your own. By the end, you will be able to write clear Python code, automate everyday tasks, handle data with confidence, and build a finished project you can show to others.
Chapters
- Chapter 1Python, Computers and Your First Program
- Chapter 2Values, Variables and Types
- Chapter 3Strings and Text
- Chapter 4Numbers and Maths
- Chapter 5Booleans, Conditions and Decisions
- Chapter 6Loops
- Chapter 7Lists
- Chapter 8Tuples, Sets and Dictionaries
- Chapter 9Functions
- Chapter 10Scope, Modules and Imports
- Chapter 11Files and Text Input/Output
- Chapter 12Errors and Exceptions
- Chapter 13Classes and Objects
- Chapter 14Inheritance and Composition
- Chapter 15Dunder Methods and Protocols
- Chapter 16Iterators, Generators and Comprehensions
- Chapter 17Decorators and Context Managers
- Chapter 18Standard Library Essentials
- Chapter 19Dates, Times and JSON
- Chapter 20Regular Expressions
- Chapter 21Testing with pytest-style Thinking
- Chapter 22Debugging and Logging
- Chapter 23Virtual Environments and pip
- Chapter 24Git for Python Projects
- Chapter 25Data Handling with CSV and JSON
- Chapter 26Working with APIs and HTTP
- Chapter 27Databases with SQLite
- Chapter 28Web Foundations: HTTP, Requests and Simple Servers
- Chapter 29Introduction to a Web Framework (Flask-style Concepts)
- Chapter 30Data Analysis Basics
- Chapter 31Automation and Scripting
- Chapter 32Command-Line Apps with argparse
- Chapter 33Packaging and Distribution Basics
- Chapter 34Concurrency Concepts
- Chapter 35Security for Python Developers
- Chapter 36Performance and Profiling Basics
- Chapter 37Type Hints and Static Checking
- Chapter 38Design Patterns in Python
- Chapter 39Clean Code and Refactoring
- Chapter 40Documentation and Docstrings
- Chapter 41Working in Teams: Code Review and Style
- Chapter 42Building a Small Library
- Chapter 43Graphical Interfaces with tkinter
- Chapter 44Data Visualisation Concepts
- Chapter 45Deployment Basics
- Chapter 46Ethics, Licences and Open Source
- Chapter 47Capstone Planning: PyDay Task-and-Notes Manager
- Chapter 48Capstone Build Part 1: Structure and Storage
- Chapter 49Capstone Build Part 2: Behaviour and Commands
- Chapter 50Capstone Finish, Portfolio and Next Steps