-
Book Overview & Buying
-
Table Of Contents
Learn to Code with Python
By :
Learn to Code with Python
By:
Overview of this book
This course begins with the fundamentals of Python, covering installation and setup for both macOS and Windows. You will learn core programming concepts such as variables, functions, and control flow, as well as how to work with strings and data structures like lists, tuples, sets, and dictionaries. These foundational skills set you up for success in more advanced topics later in the course.
As you progress, you’ll dive into object-oriented programming (OOP), learning to define classes, create objects, and work with inheritance and magic methods. Along with mastering debugging techniques, you’ll also explore web scraping with Scrapy and the essentials of unit testing. These hands-on lessons ensure you're well-prepared for real-world programming challenges.
The final sections bring everything together with a project-based approach, where you’ll build a Texas Hold'em Poker game using OOP principles. This project allows you to apply everything you've learned while reinforcing key concepts. By the end of the course, you'll be confident in building, testing, and deploying Python applications, ready to take on complex development tasks.
Table of Contents (37 chapters)
Course Introduction
Setup & Introduction
Welcome to Python
Numbers, Booleans and Equality
Variables
Functions
Strings: The Basics
Strings: Methods
Control Flow
Lists: The Basics
Lists: Iteration
Lists: Mutation
Lists: Methods
Built-In Functions
Tuples
Objects and References
Dictionaries: The Basics
Dictionaries: Iteration
Sets
Modules
Reading from and Writing to Files
Decorators
Classes: The Basics
Classes: Attributes and Methods
Classes: Magic Methods
Classes: Inheritance
Exception Handling
Dates and Time
The random Module
Testing Code: The Basics
Testing Code: Mocking
PROJECT: Texas Hold'em Poker
Regular Expressions (RegEx)
Virtual Environments
Web Scraping with Scrapy
Conclusion