After completing this course, students will be able to:
• Know all the possibilities of Python,
• Be able to perform "system" scripts, data processing, simple supervision,
• Be able to maintain a fleet of Python scripts
Module 1: Python Overview
• Python History
• Available IDE (s)
Module 2: Python object types
• Numbers
• Strings
• Containers
o Tuples, Lists
o Dictionaries, Set
• Type properties
Module 3: Good practices
• Writing rules, naming
• Annotations
• Doc strings
• Comments
• Structuring a Python file
Module 4: The instructions
• Execution of a Python program, LGI rule
• Sequential, conditional, loop programming
• Definition and call of functions
• Functions:
o definition
o call
o parameter management
o returned values
Module 5: Error handling
• Exceptions, mechanism of implementation
• The traceback
Module 6: The standard Python library
• The built-in functions, and those on the containers: map, filter, zip
• The sys modules, os
• The datetime, time modules
Module 7: Object-Oriented Programming
• Classes
• The object, instance of a class
• The class and instance attributes
• The structure of a Python object
o functions dir, vars, the variable __dict__
o functions getattr, setattr, delattr
o __slots__ interest
• Simple, multiple inheritance
This course is intended for new and experienced programmers who want to learn how to write and troubleshoot Python code.
Before attending this course, students must know and master a structured programming language like C, C++, Java.