Start free

PythonBeginnerBeginner stage36 hoursFree

Python Programming

Learn to program from zero with Python, the most used language in data work.

Start this course freeLabs run in your browser. No installs.

What you will be able to do

  • Write clean scripts and functions
  • Use core data structures fluently
  • Read and write files
  • Debug and organise code into modules

Tools

  • Python 3.12+
  • VS Code
  • Jupyter
  • pip, venv, uv

Syllabus — 7 modules

  1. Getting set up

    Install Python, an editor and Jupyter; learn the difference between running a script and a notebook. Virtual environments keep each project’s packages separate.

    Installing Python · VS Code and extensions · Jupyter notebooks and JupyterLab · The REPL · pip, venv and uv · Google Colab as a no-install option

  2. Values, variables and types

    Everything in Python is an object with a type. Numbers, strings and booleans are the building blocks; type conversion is where beginners trip.

    int, float, str, bool, None · Arithmetic and operator precedence · Strings: indexing, slicing, methods, f-strings · Type conversion · Input and output · Comments and naming (PEP 8)

  3. Control flow

    Programs make decisions with if/elif/else and repeat work with for and while loops.

    Comparisons and boolean logic · if, elif, else · for loops and range · while loops · break, continue, else on loops · match statements

  4. Data structures

    Lists, tuples, dictionaries and sets hold collections. Choosing the right one makes code shorter and faster.

    Lists and list methods · Tuples and unpacking · Dictionaries · Sets · Comprehensions · Nested structures and JSON

  5. Functions and modules

    Functions package logic for reuse and testing; modules and packages organise code across files.

    def, parameters, return · Default, keyword, *args, **kwargs · Scope · Lambdas · Docstrings and type hints · Importing modules and the standard library

  6. Files, errors and debugging

    Real programs read files and handle failure. Exceptions tell you what went wrong; the debugger shows you why.

    Reading and writing text, CSV and JSON · pathlib · try, except, finally, raise · Common exceptions · Debugging with breakpoints · Logging

  7. Object-oriented basics

    Classes bundle data and behaviour. You will meet them constantly in libraries such as pandas and scikit-learn.

    Classes and instances · __init__ and attributes · Methods · Inheritance · Dataclasses · Dunder methods

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Python track

  1. Python Programming (this course) Beginner
  2. Data Analysis with Python Intermediate
  3. Advanced Python Advanced
  4. Advanced Data Analysis with Python Advanced

Part of these career paths

Start learning

Questions and answers

How long does the Python Programming course take?
About 36 hours across 7 modules, at your own pace. At five hours a week most learners finish in 8 weeks.
Is Python Programming free?
Yes. Every lesson, lab and the final exam are free; you only need a free account.
Do I get a certificate for Python Programming?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting Python Programming?
Nothing beyond basic computer use: it is where the Python track begins.
What will I be able to do after Python Programming?
Write clean scripts and functions; Use core data structures fluently; Read and write files.