Python – Async IO: Coroutines in Python (PYTH4)
Programming, Python
Have you mastered all the common aspects of Python and only asynchronous coroutines are missing? Python offers the possibility of programming tasks processed by a scheduler within a single program thread. Together with a library for processing asynchronous communication and events, it is also possible to program using cooperative tasks in Python.
Sign up for a practical workshop that will guide you from simple iterators and generators to writing asynchronous coroutines. Learn to write event-based programs and multi-step cooperative tasks. Try an efficient programming style suitable for more demanding programmers.
THIS TRAINING COURSE WILL HELP YOU:
Understanding and implementing asynchronous coroutines in Python, mastering event-based programming and multi-step cooperative tasks.
WHO SHOULD ATTEND?
Intermediate to advanced Python programmers.
COURSE LOCATION AND AVAILABLE DATES
Private training
This course is not scheduled as a public course.
It is delivered exclusively as customised training. The content, duration, date, and delivery format are tailored to the customer's requirements and can also be provided in English.
Request customised training
Course content:
Hide details
-
Basics of cooperative programming
-
Concurrency of events and tasks
-
Concurrent processing without threads
-
Asynchronous tools in Python
-
Comparison of concurrent processing options
-
Coroutines and callbacks
-
Multithreaded applications
-
Multiprocess applications
-
First coroutines
-
Processing in parts
-
Simple generators
-
From generators to coroutines
-
Non-blocking waiting
-
Input and output
-
Integration with the operating system
-
Waiting for events (futures)
-
Practical asynchronous programming
-
Event loop
-
Network communication
-
User input and output
-
Cooperative computational tasks
-
Important theory
-
Asymptotic complexity of algorithms
-
Cooperative cycles
-
Combination with operating system threads
-
Multithreading and multiprocessing
-
Integration of threads and event loop
-
Existing I/O libraries and their integration
-
General recommendations
-
Choice of tools for concurrent processing
-
Multiprocessing, multithreading, coroutines
-
Writing understandable code
-
Prerequisites:
-
Basic knowledge of Python programming.
-
Recommended previous course:
-
Python – Design Patterns (PYTH3)
-
Schedule:
-
3 days (9:00-17:00)
Training and learning environment
What does the environment for in-person IT courses look like?We hold training courses in our own classrooms equipped with modern computer equipment for each participant and a large projection screen. Each workstation is fitted with a powerful computer for seamless practical exercises, and the environment supports a calm, friendly atmosphere during training.
Do I need to bring my own laptop to the classroom IT course?Our training rooms are fully equipped, so you do not need to bring your own laptop. A modern computer with all necessary hardware and software is ready for you at your workstation.
Will you receive an official certificate after completing an IT course?Yes, upon successful completion of the training course, you will receive an official ICT Pro certificate confirming your participation and acquired technical skills. You can use it to verify your qualifications or add it to your professional profile.
Where can you find our training center in Brno?The premises of the ICT Pro training center are located on the 1st floor of the COMGUARD building at Sochorova 38 in Brno. Positioned on the border of Žabovřesky and Komín, the location is easily accessible by both car and public transport.
Where can you find our training center in Prague?The premises of the ICT Pro training center are located on the 1st floor of the Opatov Park building at Líbalova 1, Prague 11 – Chodov. The location provides a comfortable environment for your education with convenient access.
What facilities and refreshments are available to you during training breaks?Our training centers feature a fully equipped kitchenette for a comfortable break during your courses. The facilities include a coffee machine, microwave, kettle, and a wide selection of drinks and snacks.
What beverage refreshments are available during your course?A beverage station with a coffee machine, teas, syrups, and water is at your disposal throughout the entire training session. You can enjoy a coffee or another drink of your choice anytime during breaks.
What light refreshments are provided for you during the courses?During course breaks, participants can enjoy light sweet snacks, pastries, and fruit syrups to mix their own drinks. Fresh water dispenser and plates are also available for your convenience.
Should I bring my own snacks to ICT Pro training?There is no need to. A wide selection of savory snacks, sweet biscuits, and snack bars is available for you during breaks. Boost your energy for all-day focus right inside the training center premises.
Can you spend training breaks in the fresh air?Yes, an outdoor terrace is available at our training center. During breaks between learning sessions, you can relax in the fresh air in a pleasant green environment.
Where can you relax during course breaks?Our training center features a spacious outdoor terrace with seating options. During breaks between learning sessions, you can step outside to relax and recharge in the fresh air.