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.
Objectives
At the end of this course, participants will be able to develop their own Python programs and debug and maintain existing scripts.
Prerequisite
aving initial experience with a programming language and being comfortable with algorithms
Your benefits
Content
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
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
See more + / -
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
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
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
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
💡 Useful information
Our training sessions are offered in Montreal or Quebec City, in person or in virtual format. Dates and locations are provided when you select your session below. If you have any questions regarding registration, schedules, the language of instruction, or cancellation policies, please consult our FAQ .
Trainers
Private or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quote