Learn Python fundamentals, program structure, and object-oriented programming
This software development course enables participants to master the syntax of the Python language and explore advanced concepts such as object‑oriented programming through practical exercises.
Is it for you ?
General Public.
Prerequisites
aving initial experience with a programming language and being comfortable with algorithms
What You'll Walk Away With
- ✓ Master Python fundamentals and write clear, maintainable programs
- ✓ Work efficiently with data types, control structures, and functions
- ✓ Build applications using object-oriented programming concepts (classes, inheritance, encapsulation)
- ✓ Handle errors, manage files, and automate tasks with Python scripts
- ✓ Connect to databases using SQL and ORM tools such as SQLite and SQLAlchemy
Training content
1 Introduction to the Python language
Presentation and history of the language
Installation and setup of a development environment for Python:
- Installation of a Python distribution
- Setup of an IDE
Presentation of best practices: naming and coding rules and conventions
2 Basic structure of the language
Structure of Python files
Simple data types: strings, numbers, …
Advanced types:
- Lists and their associated operations and methods
- Tuples and their associated operations and methods
- Dictionaries and their associated operations and methods
Conditional statements and loops: if/elif/else, while, for, break, continue, …
Functions:
- Defining a function
- Function calls and Python parameters
Structuring programs into modules
- Introduction to the notion of a module
- Importing and using modules
3 Object‑oriented programming
Reminders
- The object paradigm: class, object, behaviors, characteristics
- UML diagram formalism
Defining a class
- Definition and structure
- Constructors and destructors
- The self parameter
Implementing encapsulation in classes
- Writing and using public/private methods
Inheritance mechanisms
Generalization to all data types
Practical work:
- Creating classes to represent the application’s business objects
- Implementing these classes in the application
4 Advanced concepts in object‑oriented programming
Error handling
- Introduction to the exception mechanism
- Raising exceptions
- Handling exceptions
Advanced manipulation of strings following the object‑oriented approach
5 Use of the standard library
Command‑line handling
File reading/writing
The sys and os modules
Using regular expressions
Quickly developing new command‑line tools with options
Managing different operating systems with the same scripts
6 Database access with Python
Standardized connection to databases
- The DB‑API
Expression and execution of SQL queries
- Retrieving structured data
- Updating data
Use of the SQLite3 database embedded in Python
Persistence mechanisms through ORM
- Reminder on ORM
- ORM in Python
- Use of SQLAlchemy
📌 Practical information
Our training sessions are offered in Montreal or Quebec City, in person or in a virtual classroom. Dates and locations are specified when you select your session below. If you have any questions, check out our FAQ.