Python 3 Programming Guide — Beginner Edition
Start programming with Python and build a strong foundation from your very first line of code.
The Python 3 Programming Guide is a beginner-friendly, structured handbook designed to take learners from their first Hello, World! program toward building clean, object-oriented Python applications. Its 11 progressive modules cover Python architecture, variables, data types, operators, control flow, data structures, functions, OOP, file handling, modules, best practices, and a complete project.
You’ll learn how Python works through CPython and bytecode, then explore variables, strings, numbers, Booleans, operators, conditions, loops, lists, tuples, dictionaries, sets and comprehensions. As you progress, the book introduces functions, *args, **kwargs, the LEGB scope model, lambda expressions, classes, inheritance and polymorphism.
The later modules move into practical Python development with file I/O, JSON, exception handling, standard-library modules, virtual environments and pip. You’ll then put those skills together by building a CLI Personal Expense Tracker and Financial Analytics application, followed by an introduction to PEP 8, type hints, debugging, unit testing and a Python developer roadmap.
Perfect for: Complete beginners, students, self-taught programmers, and anyone looking for a practical foundation before moving into areas such as automation, web development, data science or AI.
What you'll explore
- 11 progressive modules
- Core Python syntax and data structures
- Functions, OOP and polymorphism
- Files, JSON, exceptions and environments
- CLI expense tracker capstone project