TI298
Information technology

Python: Introduction to Programming

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.

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

  • 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
  • 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

    Upcoming information
    Duration
    3 days
    Schedule
    9h to 16h
    Regular fee
    $1,485
    Preferential fee A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
    $1,335
    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

    Request in-company 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.

    Tell us more
    Added to cart View my cart