Python Fundamentals
An 8-week, project-based, beginner program that teaches core Python from scratch by building a real command-line tool. No prior programming experience required — ship a working CLI you can put on your resume.
- Pace
- Self-paced, start any week
- Length
- 8 weeks · 59 video lessons
- Repo
- paiml/python-fundamentals-applied-program
Weekly email reminders: join the programjoin the program. Or add the 8 weeks to your calendar, starting one week from today:
Outline
Week 1 · Dev Environment, Git/GitHub Setup + Python Basics
- Install Python and a code editor, and run your first script
- Learn Git basics and create your project's GitHub repository with a first commit
- Set up a Docker/dev-container basics and a Python virtual environment
- Learn variables, core data types, conditionals, and basic error handling
- Choose the problem your CLI tool will solve, and who it's for
- Meet your course instructor Alfredo DEZA Members
- Lesson introduction variables and types Members
- Variables and assignments Members
- Working with different data types Members
- Conditionals and evaluations Members
- Catching and handling exceptions Members
- Why consider version control Members
- Repository concepts Members
- The GIT command line tool Members
- Committing and pushing changes Members
- Using Docker and containers Members
- Setup a python Virtualenv Members
Week 2 · Data Structures — Lists & Dictionaries
- Learn lists, dictionaries, tuples, and sets, and when to use each
- Practice adding to and extracting data from lists and dictionaries
- Sketch the data your CLI tool will need to track (its "model")
- Lesson introduction python data structures Members
- Introduction to lists Members
- Creating and Iterating over lists Members
- Introduction to dictionaries Members
- Creating and Iterating over dictionaries Members
- Other data structures Tuples and sets Members
- Adding data to lists Members
- Extracting data from lists Members
- Extracting data from dictionaries Members
Week 3 · Functions
- Write functions with positional, keyword, and variable arguments
- Break your first script's logic into small, testable functions
- Refactor Week 1-2's code into a functions-based script
- Lesson introduction working with functions Members
- Function structure and values Members
- Function arguments Members
- Variable and keyword arguments Members
Week 4 · Classes & Objects
- Learn classes, constructors, methods, and basic inheritance
- Decide whether your CLI tool's data belongs in a class, and model it
- Rewrite your tool's core data as a class with methods
- Lesson introduction building classes and methods Members
- Introduction to classes Members
- Using a Constructor Members
- Adding methods Members
- Class Inheritance Members
Week 5 · Modules, Files & Virtual Environments
- Split your script across modules and understand imports
- Set up a virtual environment and declare your project's dependencies
- Read and write real files (including JSON) as your project's data layer
- Reorganize your project into a proper multi-file Python package layout
- Lesson introduction modules and advanced Usages Members
- Introduction to python modules Members
- Working with imports Members
- Working with python scripts Members
- Virtual environments and Dependencies Members
- Loading data from files and file paths in python Members
- Working with JSON in python Members
- Saving data from python to disk Members
- Creating a script as a module in python Members
- Traversing the file system with a script in python Members
Week 6 · Testing with Pytest
- Learn why and how to test Python code with pytest
- Write your first tests, including parameterized tests and fixtures
- Add a test suite covering your project's core functions/methods
- Motivations for testing in python Members
- Testing with Pytest Members
- Using plan Asserts in Pytest Members
- Parameterizing tests Members
- Pytest fixtures Members
Week 7 · Building the Command-Line Interface
- Learn argparse and click for building CLI interfaces
- Wire a real command-line interface onto your project's logic, with subcommands and environment variables
- Add basic logging and error handling to your CLI
- Package your project so it can be installed and run as a command
- Creating a single file script Members
- Using the Argparse framework Members
- Declaring Dependencies Members
- Using the click framework Members
- Packaging your project Members
- Solving a machine learning problem with a CLI tool Members
- Creating a command line tool with sub commands in python Members
- Parsing complex command line arguments in python Members
- Adding environment variables to your command line tool in python Members
- Implementing basic logging in python Members
- Handling errors in python Members
- Release to the python package index PYPI Members
Week 8 · Ship & Finalize
- Run your project against the self-assessment checklist
- Polish the README with real setup/usage instructions and examples
- Publish the repository publicly and write a short portfolio/LinkedIn post linking to it
- Python Debugging with PDB Members
- Other Pytest runner options Members
Roles it prepares you for
- Junior Python Developer
- Software Engineer (Entry-Level)
- QA/Test Automation Engineer
- Technical Support Engineer
- Data Analyst (Python track)
Skills you'll practice
- Python Fundamentals (variables, data structures, control flow)
- Functions & Object-Oriented Programming
- Virtual Environments & Dependency Management
- Automated Testing with Pytest
- Command-Line Interface Development (argparse, click)
- Python Packaging
- Git & GitHub Workflow
Prerequisites
No prior programming experience required. You'll need a computer you can install software on and basic comfort using a terminal — everything else is taught from Week 1.
Questions
Is there a grade or enrollment gate?
No. There's no grading, no enrollment gate, and no required login to work through the program's repository. Joining just sets up weekly email reminders and an optional calendar schedule.
Can I run this rolling or as a cohort?
Both. Rolling/self-paced means you start whenever you want with no meetings. Cohort runs alongside a shared start date with a dedicated Discord channel and an end-of-run demo call.
Do I need to log in to use the calendar invite?
No. The calendar buttons above work without logging in, with a schedule starting one week from today.
What does membership add?
Week 1's videos are free. Membership opens every week's videos and the full course library they come from. See pricing.