EL350
Information technology

Programming in Python

Master Python, object-oriented programming, and development best practices

Python is a powerful language, provided you master its fundamentals. Variables, functions, modules, object-oriented programming, exception handling, file manipulation: these are all essential building blocks that this training covers in a progressive and structured way. With demonstrations and hands-on practical exercises, this course is designed for developers who want to build a solid and lasting foundation in Python.

Is it for you ?

Developers.

Prerequisites

To follow this e-learning, knowledge of algorithms is a plus.

What You'll Walk Away With

  • Structurer ses programmes Python avec la programmation orientée objet
  • Gérer les erreurs et les exceptions de façon robuste et professionnelle
  • Travailler avec les fichiers, les modules et la bibliothèque standard Python avec aisance

Training content

1 Presentation of Python

  • Objectives of Python
  • History of Python
  • Use cases
  • Features of the language
  • Content of Python
  • Running a Python program

2 Setting up a Python platform

  • Objectives of Python
  • Installation of Python
  • Python console
  • Additional libraries
  • Installation with PIP
  • PIP commands
  • Installation from source
  • Virtual environments
  • IDE for Python
  • Demo - Setting up a Python platform
  • Demo - Creating a virtual environment
  • Demo - Adding libraries
  • Demo - Installing the PyCharm IDE
  • Tutorial - Setting up a Python platform and creating a project

3 The basics of the language

  • What we want to achieve
  • Syntax of the language
  • Instructions and delimiters
  • Blocks
  • Comments
  • Documentation comments
  • Simple data types
  • Other data types
  • Strong dynamic typing
  • String handling
  • String manipulation
  • String formatting
  • Type conversions
  • Conversion functions
  • Advanced data types
  • Sets (tuple)
  • Lists (list)
  • Dictionaries (dict)
  • Operators
  • Control structures
  • Conditional structures
  • Iterative structures
  • Standard input and output
  • Case of error output
  • Practical work statement - Guessing a number

4 The functions

  • Objectives
  • The usefulness of functions
  • The declaration of a function
  • The use of a function
  • The parameters
  • The return of a function
  • The optional parameters
  • Variable number parameters
  • Named parameters
  • Practical work statement - Calculator

5 The modules

  • Objectives
  • Usefulness of the module structure
  • Naming of modules
  • Organization in packages
  • Importing modules
  • Importing module functionalities
  • Main module
  • Module location path : PYTHONPATH
  • Adding a directory to the PYTHONPATH
  • Demonstration - The modules
  • Statement of the TP - Organization of the calculator

6 Object-oriented programming

  • Objectives
  • Historical background
  • The concepts
  • UML and associated methodologies
  • Python classes
  • Attributes and methods
  • Class and instance
  • Constructor
  • Demonstration - Creating a class
  • Access to members
  • A coherent whole
  • Class members
  • Demonstration - Encapsulation
  • Collaborations
  • Inheritance in Python
  • Building objects in inheritance
  • Multiple inheritance
  • Polymorphism
  • Demonstration - Inheritance
  • Case Study - Managing a fleet of vehicles

7 Advanced concepts

  • Objectives of the exercise
  • The 'object' class
  • The special methods of objects
  • The redefinition of special methods
  • Overloading operators
  • The exceptions
  • Exceptions: different types
  • Exceptions : origin of the error
  • Exceptions : error handling
  • The try structure : ... except: ...
  • Handling multiple errors
  • Exceptions: different scenarios
  • The user exceptions
  • Demonstration - Exception handling
  • Exceptions : good practices
  • Exceptions: finally
  • The with structure
  • Case study - Improvement of a fleet management project

8 The standard library

  • Objectives
  • Introduction
  • Interaction with the operating system
  • Gathering information about the system
  • Interaction with processes
  • Handling files and directories
  • Open() function
  • Reading and writing to a file
  • Working with paths
  • pathlib module
  • Handling files with pathlib
  • Demonstration - Using the Python documentation

9 Python 3 - Language fundamentals (3rd edition)

  • Theoretical keys
  • Presentation of Python
  • Why choose Python
  • Setting up your working environment
  • The first steps
  • Functions and modules
  • The main types
  • Classes
  • Basic algorithms
  • Declarations
  • Object model
  • Data types and applied algorithms
  • Data manipulation
  • Databases
  • Create a web application in 30 minutes
  • Create a console application in 10 minutes
  • Create a graphical application in 20 minutes
  • Create a game in 30 minutes with PyGame
See more

📌 Practical information

100% online training. Accessible anytime from anywhere for one year. If you have any questions about registration, the language of instruction, or the cancellation terms, please consult our FAQ

Trainers

Upcoming information
Duration
15.0 hours
Regular fee
$250
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