TI297
Information technology

Object-Oriented Programming in Python

Build robust Python applications using object-oriented programming concepts

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.

Is it for you ?

System administrators and advanced users, developers

Prerequisites

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.

What You'll Walk Away With

  • Design structured applications using object-oriented programming principles in Python
  • Implement classes, inheritance, and polymorphism to model business objects
  • Handle exceptions to build reliable and resilient applications
  • Work with files and serialize data for persistence
  • Access databases using DBAPI and implement object persistence mechanisms

Training content

1 Introduction

  • Presentation of Python and its versions, history.
  • Installation of Python and a development environment (IDE).

2 Getting Started

  • Using the Python interpreter.
  • Using the IDE.
  • Basic syntax of the language.
  • Python help and documentation.

3 Variables, Classes, and Operators

  • Different data types.
  • Main classes.
  • Operators.

4 Control Structures

  • Conditional structures.
  • Repetitive structures.
  • Other structures.

5 Functions

  • Utility and definitions.
  • Arguments and variables.
  • Function calls.
  • Defining functions.

6 Modules and Packages

  • Introduction.
  • Importing.
  • Overview of the standard library.
  • Defining modules and packages.

7 Object-Oriented Programming

  • Principles of object concepts.
  • Defining a class, creating objects.
  • Inheritance and polymorphism.

8 Exception Handling

  • Error handling presentation.
  • try, except, else, finally control structures.
  • Exception propagation.
  • Defining exceptions.
  • Triggering exceptions.

9 Files and Serialization

  • Opening and closing.
  • Reading and writing.
  • Object serialization (pickle and shelve modules).

10 Additional Topics

  • sys module, interacting with the Python interpreter.
  • os module, interacting with the operating system.
  • re module, regular expressions.

11 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.

12 Python Best Practices

  • Writing rules.
  • Code documentation.
  • Quality assurance tools (QA).

13 Going Further

  • Creating graphical interfaces.
  • Interfacing Python with other languages
See more

📌 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.

Trainers

Upcoming information
Duration
5 days
Schedule
See training dates for details
Regular fee
$2,395
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.
$2,155
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