Programming in Python
Python from fundamentals to working scripts and projects.
- Self-paced
- 8–10 weeks
- 25+ hrs
- Credential included
Curriculum
6 subjects · 14 chapters · 56 topics
- 01
Python Foundations
1.1 Getting started
- Installing Python and an editor
- The interpreter and scripts
- Virtual environments
- pip and packages
1.2 Core syntax
- Variables, types and operators
- Strings and formatting
- Conditionals
- Loops and comprehensions
1.3 Data structures
- Lists and tuples
- Dictionaries and sets
- Slicing and unpacking
- Choosing the right structure
- 02
Functions and Modules
2.1 Functions
- Arguments, defaults and keyword arguments
- Return values and scope
- args and kwargs
- Lambdas and higher-order functions
2.2 Modules and packages
- Importing and namespaces
- Writing your own module
- Package structure
- The standard library tour
- 03
Object-Oriented Python
3.1 Classes
- Attributes, methods and self
- Constructors and dunder methods
- Properties
- Class versus instance state
3.2 Inheritance and design
- Subclassing and super
- Composition
- Abstract base classes
- Dataclasses
- 04
Working with the Real World
4.1 Files and data formats
- Reading and writing text
- CSV and JSON
- Paths with pathlib
- Working with dates and times
4.2 Errors and testing
- Exceptions and try/except
- Custom exceptions
- unittest and pytest
- Debugging and logging
4.3 The web and automation
- HTTP requests
- Parsing HTML
- Automating repetitive tasks
- Scheduling scripts
- 05
Useful Libraries
5.1 Data work
- NumPy arrays
- Pandas DataFrames
- Matplotlib plots
- Reading data from a database
5.2 Building applications
- Flask or FastAPI basics
- Command-line tools with argparse
- Packaging and distribution
- Environment configuration
- 06
Writing Better Python
6.1 Quality
- PEP 8 and readable code
- Type hints
- Iterators and generators
- Decorators and context managers
6.2 Project
- Planning a small application
- Building it in modules
- Writing tests
- Presenting and documenting

