Python Fundamentals and Automation
Beginner-friendly data processing and small automations using Python.
14 chapters · 112 lessonsBeginner friendlyFreeRuns in the browser
What you will learn
- Understand and execute first programs.
- Calculate with data and make decisions.
- Structure repetitions and manage multiple values.
- Break tasks down into reusable components.
- Process more complex datasets and collections.
- Safely read, store data, and handle errors.
- Organize programs and use standard tools.
- Implement a small workflow from scratch.
- Apply advanced techniques for lists and dictionaries.
- Systematic troubleshooting and simple program verification.
- Design custom classes and simple objects.
- Use flexible function parameters and lambda expressions.
- Query and process structured web data.
- Independently build a comprehensive automation script.
Course content
Chapter 1 Introduction
Understand and execute first programs.
- Hello Python
- Using Variables
- Concatenating Strings
- Simple Calculations
- Reading Inputs
- Type Conversion
- Mini-Project Greeting
- Chapter Challenge
Chapter 2 Values and Rules
Calculate with data and make decisions.
- Comparison Operators
- Conditions with if
- Alternatives with else
- Multiple Decisions with elif
- Logical Operators
- Debugging Conditions
- Mini-Project Decision Helper
- Chapter Challenge
Chapter 3 Lists and Loops
Structure repetitions and manage multiple values.
- Creating Lists and Indices
- Modifying Lists
- The for Loop
- Number Sequences with range
- The while Loop
- Debugging Loops
- Mini-Project Todo List
- Chapter Challenge
Chapter 4 Functions
Break tasks down into reusable components.
- Defining Functions
- Parameters and Arguments
- Return Values with return
- Local and Global Variables
- Default Parameter Values
- Debugging Functions
- Mini-Projekt Calculator Library
- Chapter Challenge
Chapter 5 Dictionaries and Structured Data
Process more complex datasets and collections.
- Creating Dictionaries
- Updating and Adding Values
- Iterating Over Dictionaries
- Nested Data Structures
- Safe Retrieval with get
- Debugging Dictionaries
- Mini-Project Contact Book
- Chapter Challenge
Chapter 6 Files and Errors
Safely read, store data, and handle errors.
- Opening and Reading Files
- Writing Data to Files
- Working with the with Block
- Catching Exceptions with try and except
- Handling Specific Errors
- Debugging File Operations
- Mini-Project Notebook
- Chapter Challenge
Chapter 7 Modules and Tools
Organize programs and use standard tools.
- Importing Modules
- Importing Specific Functions
- The math Module
- The random Module
- The datetime Module
- Debugging Modules
- Mini-Project Random Generator
- Chapter Challenge
Chapter 8 Automation Project
Implement a small workflow from scratch.
- Project Planning and Structure
- Data Retrieval and Validation
- Building a Processing Pipeline
- Logging and Timestamps
- Configuration and Environment
- Debugging the Overall System
- Mini-Project Report Generator
- Chapter Challenge
Chapter 9 Advanced Data Structures
Apply advanced techniques for lists and dictionaries.
- List Comprehensions
- Dictionary Comprehensions
- Sets and Their Operations
- Tuples and Data Unpacking
- Advanced Sorting
- Debugging Complex Structures
- Mini-Project Dataset Analyzer
- Chapter Challenge
Chapter 10 Debugging and Testing
Systematic troubleshooting and simple program verification.
- Debugging Strategies
- Using Print for Diagnostics
- Assertion Statements
- Understanding Tracebacks
- Writing Simple Unit Tests
- Debugging Test Cases
- Mini-Project Calculator Test Suite
- Chapter Challenge
Chapter 11 Object-Oriented Basics
Design custom classes and simple objects.
- Introduction to Classes
- Attributes and the Constructor
- Defining Methods
- Instantiating Objects
- String Representation
- Debugging Classes
- Mini-Project Bank Account
- Chapter Challenge
Chapter 12 Advanced Functions
Use flexible function parameters and lambda expressions.
- Variable Arguments with *args
- Keyword Arguments with **kwargs
- Anonymous Functions with lambda
- Functions as Objects
- Introduction to Recursion
- Debugging Advanced Functions
- Mini-Project Flexible Data Calculator
- Chapter Challenge
Chapter 13 Working with APIs and Extended Features
Query and process structured web data.
- Introduction to APIs
- Parsing JSON Data
- Using the requests Module
- Evaluating API Responses
- Error Handling for Network Calls
- Debugging API Scripts
- Mini-Project Weather Query
- Chapter Challenge
Chapter 14 CapStone Project
Independently build a comprehensive automation script.
- Project Design and Specification
- Data Acquisition and External Sources
- Processing and Data Cleaning
- Object-Oriented Data Management
- Logging and Error Handling
- Debugging the Entire Project
- Mini-Project Test and Report Run
- Chapter Challenge
How each lesson works
No hour-long videos. Each lesson is a short loop you complete yourself, until the idea sits.
Read
A short explanation and one clear task. Just enough to get going.
Write
You type the code yourself, in a real editor right in the browser.
Run
Run it and see what your program actually does, straight away.
Check
Check tells you whether the task is solved, and what is missing if not.
Good to know
- Nothing to install: editor, output and checks run in your browser tab.
- Start as a guest without an account; your progress stays on this device.
- A free Ostrae account syncs progress and settings across devices and unlocks the MICA coach.