ORSYS formation
CONTACT - +33 (0)1 49 07 73 73
CONTACT - 📞 +33 (0)1 49 07 73 73    drapeau francais   drapeau anglais

Consult our trainings :

Python, programmation Objet Training

Stage pratique
Duration : 5 days
Ref : PYT
Price  2020 : 2890 € excl. taxes
Free breaks and lunches
  • Program
  • Participants / Prerequisite
  • Intra/Tailored

Instructional goals

Learning objectives

  • Acquire the essential notions of object-oriented programming.
  • Know and implement the various modules of Python.
  • Design graphical user interfaces.
  • Implement tools to test and evaluate the quality of a Python program
  • Participants

» Syntax of Python

  • Identifiers and references. Coding conventions and naming rules.
  • Blocks and comments.
  • Available data types.
  • Variables, formated display, local and global scope.
  • Working with numeric types, working with character strings.
  • Working with dynamic tables (list), static tables (tuple) and dictionaries.
  • Using files.
  • The if/elif/else conditional structure.
  • Logical operators and comparison operators.
  • While and for iterator loops. Break/continue iteration interrupts.
  • The range function.
  • Writing and documenting functions.
  • Lambda expressions.
  • Generators.
  • Structuring code into modules.
  • Hands-on work¤Installing and getting started with the Python interpreter.

» Object-Oriented Approach

  • The principles of the Object paradigm.
  • Defining an object (state, behavior, identity).
  • The notion of a class, attributes, and methods.
  • Encapsulating data.
  • Communication between objects.
  • Inheritance, transmitting a class's characteristics.
  • Notion of polymorphism.
  • Association between classes.
  • Interfaces.
  • Overview of UML.
  • Diagrams of classes, sequences, activities, etc.
  • Notion of design patterns.
  • Hands-on work ¤UML modeling of a simple case study.

» Object-Oriented Programming in Python

  • The particular features of the Python object model.
  • Writing classes and instantiating them.
  • Constructors and destructors.
  • Attribute and method access protection.
  • The need for the Self parameter.
  • Simple inheritance, multiple inheritance, polymorphism.
  • Notions of visibility.
  • Special methods.
  • Introspection.
  • Implementing interfaces.
  • Best practices and common design models.
  • The use of the exception mechanism for error management.
  • Hands-on work ¤Exercises in different object-oriented concepts by implementing the case study.

» Use of StdLib

  • Passing arguments on the command line.
  • The use of the Python regular expression engine with the "re" module, special characters, cardinality.
  • Working with the file system.
  • Overview of some important modules of the standard library: “sys”, “os”, “os.path” modules.
  • Packaging and installing a Python library.
  • Access to the relational database, the operation of the API DB.
  • Hands-on work ¤Implementing Python modules: Regular expressions, accessing a database

» QA tools

  • Static code analysis tools (pylint, pychecker).
  • Analyzing analysis reports (types of messages, warnings, errors).
  • Automatic documentation extraction.
  • The Python debugger (step-by-step execution and post-mortem analysis).
  • Test-driven development.
  • Python unit test modules (Unittest., etc.).
  • Automating tests, aggregating tests.
  • Code coverage tests, profiling.
  • Hands-on work ¤Using the tools pylint and pychecker to check Python code. Implementing unit tests.

» Creating the TkInter HMI

  • The principles of programming graphical user interfaces
  • Overview of the TkInter library.
  • The main containers.
  • Overview of the widgets available (Button, Radiobutton, Entry, Label, Listbox, Canvas, Menu, Scrollbar, Text, etc.).
  • The window manager.
  • Placement of components, different layouts.
  • Event management, the "event" object.
  • Multi-window applications.
  • Hands-on work ¤Designing a graphical user interface with the Tkinter library.

» Python/C interface

  • Overview of the Ctypes module.
  • Loading a C library.
  • Calling a function.
  • Rewriting a Python function in C with the Python/C API.
  • Creating C modules for Python with Pyrex.
  • The Python interpreter in C.
  • Using the code profiler.
  • Hands-on work¤Calling functions written in C from Python. Creating C modules for Python with Pyrex.

» Conclusion

  • Critical analysis of Python.
  • Evolution of the language.
  • Webography and bibliography elements.
Participants / Prerequisite

» Participants


» Prerequisite


Contact Informations

By checking this box, I certify that I have read and accepted the conditions for the use of my data regarding the General Data Protection Regulation (GDPR).
You can at any time modify the use of your data and exercise your rights by sending an email to rgpd@orsys.fr
By checking this box, I agree to receive commercial and promotional communications from ORSYS Training*. You can unsubscribe at any time by using the link included in our communications.

En inter et en intra-entreprise
Inscrivez-vous ou contactez-nous !

Book your place

Click on a session for reserving.

Time schedule

Generally, courses take place from 9:00 to 12:30 and from 14:00 to 17:30.
However, on the first day attendees are welcomed from 8:45, and there is a presentation of the session between 9:15 and 9:30.
The course itself begins at 9:30. For the 4- or 5-day hands-on courses, the sessions finish at 15:30 on the last day
linkedin orsys
twitter orsys
it! orsys
instagram orsys
pinterest orsys
facebook orsys
youtube orsys