This course enables participants to acquire the basics of the Python language, understand its principles, uses, and specific features, and develop and maintain Python applications using procedural and object‑oriented programming.
Objectives
At the end of this course, participants will be able to create and modify Python scripts, use and develop modules, master object‑oriented programming, handle exceptions, manipulate files, and save data.
Is it for you ?
System administrators and advanced users, developers
Prerequisite
Basic knowledge of computing and text file editing. Notions of programming and algorithms, ideally with experience in programming in other languages. Knowledge of object concepts and SQL is a plus.
Your benefits
Content
Introduction
- Presentation of Python and its versions, history.
- Installation of Python and a development environment (IDE).
Getting Started
- Using the Python interpreter.
- Using the IDE.
- Basic syntax of the language.
- Python help and documentation.
See more + / -
Variables, Classes, and Operators
- Different data types.
- Main classes.
- Operators.
Control Structures
- Conditional structures.
- Repetitive structures.
- Other structures.
Functions
- Utility and definitions.
- Arguments and variables.
- Function calls.
- Defining functions.
Modules and Packages
- Introduction.
- Importing.
- Overview of the standard library.
- Defining modules and packages.
Object-Oriented Programming
- Principles of object concepts.
- Defining a class, creating objects.
- Inheritance and polymorphism.
Exception Handling
- Error handling presentation.
- try, except, else, finally control structures.
- Exception propagation.
- Defining exceptions.
- Triggering exceptions.
Files and Serialization
- Opening and closing.
- Reading and writing.
- Object serialization (pickle and shelve modules).
Additional Topics
- sys module, interacting with the Python interpreter.
- os module, interacting with the operating system.
- re module, regular expressions.
Database Access
- Python DBAPI for manipulating DBMS.
- Modules for Sqlite, PostgreSQL.
- MySQLdb module for MySQL.
- Relational/object mapping and persistence.
- Saving and restoring objects in Python.
Python Best Practices
- Writing rules.
- Code documentation.
- Quality assurance tools (QA).
Going Further
- Creating graphical interfaces.
- Interfacing Python with other languages
💡 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