Training Python Academy

Training goals

code: PA-TPP

Threads allow the simultaneous execution of several program paths. This opens new possibilities for program development. On the other hand, programs become more complex. Python uses the native thread implementation of the operating system and offers a unified API therefore offers platform-impendent threaded programming.

 

The training have modular form, it takes half a day and can be combined with other training offerings by Python Academy.

Conspect Show list

  1. THREAD BASICS - The possibilities for threads in Python are shown. An examples is used to demonstrate how the module threading works.
  2. GIL - Python has a so called General Interpreter Lock (GIL) that prevents several threads to run in real parallel on multi-CPU hardware. The implications of the GIL on programming are covered.
  3. THREAD SYNCHRONIZATION - Synchronization of threads is a important part of thread programming. Random manipulations of data has to be avoided when two threads access the same data at the same time. To achieve this data need to be locked by one thread providing exclusive access for this period of time.

    Examples are used to explain the principles of locking. Special focus is put on so called dead-lock situations where threads block each other from executing and bring the program to a halt.

  4. PROCESSES - Python provides several ways to launch and access external processes. These ways are introduced with examples.
  5. COMBINATION OF THREADS AND PROCESSES - The combination of threads and processes allows to run programs in parallel using the advantages of multi-processor machines possibly gaining speedups. An example is used to demonstrate the effect of such combinations.
Download conspect training as PDF

Additional information

Difficulty level
Duration 1 day
Certificate

The participants will obtain certificates signed by Python Academy.

Trainer

Authorized Python Academy Trainer.

Other training Python Academy | On Demand

Training thematically related

Programming

Python

Contact form

Please fill form below to obtain more info about this training.







* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

TRAINING PRICE FROM 400 EUR

  • In order to propose a date for this training, please contact the Sales Department

Upcoming Python Academy training

Training schedule
Python Academy