Duration
15.0 hours
Regular fee
$250
Objectives of the training
Python is a language that is becoming more and more important in the IT landscape. It is used to develop business applications, operating system management programs and web applications. This e-learning course covers the basics of the Python language, the organization and structuring of programs, object-oriented programming with Python and the use of the platform's features via the standard library. It is mainly aimed at developers who wish to develop this type of application.Targeted audience
DevelopersPrerequisite
To follow this e-learning, knowledge of algorithms is a plus.Trainers
Upcoming information
Course architecture
Presentation of Python
• Objectives of Python
• History of Python
• Use cases
• Features of the language
• Content of Python
• Running a Python program
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
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
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
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
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
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
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
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
• Objectives of Python
• History of Python
• Use cases
• Features of the language
• Content of Python
• Running a Python program
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
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
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
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
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
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
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
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
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quoteDuration
15.0 hours
Regular fee
$250
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote