Programming fundamentals

Python: learn the language through projects

Write scripts and structured programs in Python, from basic types to classes, files and databases.

Request this program
Duration
28 h · 4 days
Level
Beginner
Format
On site · Remote · Blended
Max. group size
12 participants

Overview

This program teaches Python in a concrete way. Participants discover the basic types and control structures, write functions, handle files, structure their code into modules and classes, then access a SQLite database and build a small graphical interface. The last half day shows how to make the most of AI assistants for programming.

Who this program is for

  • Future developers and analysts
  • System administrators who want to automate
  • Career changers into data or development

Prerequisites

  • Notions of algorithms (variables, conditions, loops)

Learning objectives

  • Identify common uses of Python
  • Use lists, tuples, sets and dictionaries
  • Write functions, comprehensions and exception handling
  • Reading and writing files
  • Structure code with modules, packages and classes
  • Manage dependencies and virtual environments
  • Access a database and create a simple interface

Detailed curriculum

8 modules · 28 h · 4 days

Day 1
Getting started with Python3.5 h
50% theory · 50% practice
  • Where and why Python is used
  • Setting up the environment
  • Variables and primitive types
  • Strings
  • Input and output
Data structures3.5 h🛠 1 workshop
30% theory · 70% practice
  • Lists, tuples, sets
  • Dictionaries
  • Copies and references
  • Iteration and sorting
  • Choosing the right structure
🛠 Hands-on workshops
Address book1.5 h

Manage contacts with data structures.

✅ Deliverable : A contact management script
Day 2
Control flow and functions3.5 h
50% theory · 50% practice
  • Conditions and loops
  • List comprehensions
  • Functions, arguments and return values
  • Variable scope
  • Exceptions
Files and data3.5 h🛠 1 workshop
30% theory · 70% practice
  • Reading and writing text files
  • CSV and JSON
  • Paths and folders
  • Logging
  • Processing a dataset
🛠 Hands-on workshops
File processing2 h

Write a script that cleans and summarizes files.

✅ Deliverable : An automated processing script
Day 3
Modules, packages and environments3.5 h
50% theory · 50% practice
  • Importing and creating modules
  • Packages
  • pip and virtual environments
  • Useful standard library
  • Project structure
Object-oriented programming in Python3.5 h🛠 1 workshop
30% theory · 70% practice
  • Classes, attributes and methods
  • Inheritance
  • Special methods
  • Encapsulation
  • When to use classes
🛠 Hands-on workshops
Model a domain2 h

Model a small business domain with classes.

✅ Deliverable : An object-oriented module
Day 4
Database and graphical interface3.5 h🛠 1 workshop
30% theory · 70% practice
  • SQLite from Python
  • Parameterized queries
  • Graphical interface with Tkinter
  • Linking interface and data
  • Packaging a small tool
🛠 Hands-on workshops
Desktop application2 h

Create a small application with an interface and a database.

✅ Deliverable : A desktop application
Debugging and AI assistants3.5 h
50% theory · 50% practice
  • Debugging methodically
  • Reading error messages
  • AI assistants for programming: uses and limits
  • Simple tests
  • Ways to continue

Tools and technologies

PythonSQLiteVisual Studio Code

Teaching methods

  • Alternating short lectures and hands-on work
  • Live demonstrations by the trainer
  • Capstone project built throughout the modules
  • Group corrections and discussion of best practices

Assessment

  • Hands-on exercises corrected in each module
  • Mini-project completed at the end of the course
  • Knowledge-check quiz

Required equipment

  • A computer with an internet connection
  • Python 3 and a code editor (Visual Studio Code)

Resources provided

  • Course materials and repository of corrected exercises

Career outcomes

  • Several useful scripts automating tasks
  • A small structured project with a database
  • A foundation for data science or the web

Related video courses

My video courses that go with this program, to get ready for the training or to review afterwards. Free with an account.