Python Foundations for AI
Move from using AI tools to understanding the code and data skills behind them. This course teaches beginner-friendly Python with examples aimed at notebooks, datasets, and AI practice.
Register interest
Start with AI Foundations
Request a course-specific launch update. This is not enrolment or a seat reservation.
Turn AI understanding into practical coding confidence
AI Foundations helps you understand the concepts. Python Foundations helps you begin building: reading code, working with data, using notebooks, and understanding the examples that appear in AI and machine learning tutorials.
- AI Foundations helpful
- No prior programming needed
- Built for notebooks and data
Understand variables, values, expressions, and the shape of simple Python programs.
Work with strings, lists, tuples, dictionaries, and common patterns for organizing information.
Use conditions and loops to make small programs respond to data and decisions.
Package repeated logic into readable, reusable building blocks.
Read tracebacks, handle expected errors, and use small tests to confirm that code behaves as intended.
Load, clean, transform, and explore simple datasets: the everyday substrate of AI work.
Feel comfortable in the standard environment for AI, data, examples, and experiments.
Eight modules from first code to an AI-ready data project
The sequence gives syntax, problem-solving, debugging, files, and tabular data enough room to develop. Every module includes code practice, and the final project combines the skills without pretending that introductory Python alone makes someone an AI engineer.
Python environments, notebooks, and first programs
- How Python executes code
- Scripts, notebook cells, and reproducible order
- Using documentation and inspecting values
- Practice: build and rerun a small notebook without hidden state
Values, variables, types, and expressions
- Numbers, strings, booleans, and None
- Variables, operators, conversion, and formatted output
- Indexing, slicing, and useful string methods
- Practice: clean and summarise a block of text
Collections and structured information
- Lists, tuples, dictionaries, and sets
- Mutability, copying, membership, and nested structures
- Iteration patterns and comprehensions
- Practice: represent and transform a small labelled dataset
Conditions, loops, and problem decomposition
- Boolean logic and branching
- For and while loops, range, break, and continue
- Turning a requirement into small executable steps
- Practice: validate records and report rejected values
Functions, modules, and readable code
- Parameters, return values, scope, and simple type hints
- Docstrings, naming, and separating concerns
- Imports, standard-library modules, and package awareness
- Practice: refactor repeated notebook code into tested functions
Errors, debugging, and basic testing
- Syntax errors, exceptions, and reading tracebacks
- Validation, try/except, and when not to catch an error
- Assertions and small repeatable tests
- Practice: diagnose and repair a deliberately broken program
Files and tabular data
- Paths, text files, CSV, and JSON
- Missing, inconsistent, and incorrectly typed values
- Introductory NumPy arrays and pandas DataFrames
- Practice: clean, filter, group, and summarise a small real-world table
Capstone: a reproducible data-preparation notebook
- Define a question and inspect an unfamiliar dataset
- Clean, validate, transform, and summarise the data
- Organise code into functions and document assumptions
- Final deliverable: a rerunnable notebook and concise findings report
Designed for learners who are new to code
Beginners with no programming background, professionals moving toward technical AI work, and learners continuing from AI Foundations.
No prior programming required. AI Foundations or equivalent familiarity with AI concepts is recommended.
Self-paced online lessons with hands-on coding activities in every module.
Continue toward machine learning
After Python Foundations, Machine Learning Foundations becomes much easier to follow because datasets, notebooks, and code examples already feel familiar.
Course status: planned
The full outline is available to review while the course is being prepared. Registering interest requests a course-specific reply or launch update; it does not enrol you, reserve a place, or add you to a marketing list.
