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.
Location, current course term
Contact us
The course:
Hide detail
-
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
-
Assumed knowledge:
-
Basic knowledge of Python programming.
-
Recommended previous course:
-
Python - Design Patterns (PYTH3)
-
Schedule:
-
3 days (9:00 AM - 5:00 PM )
-
Language:
-