~/talk

A Crash Course in Python 3's asyncio

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [python]
links:none on file
slides:none on file

A concise walkthrough of Python 3 asyncio showing how async/await turns blocking downloads into concurrently scheduled coroutines, using aiohttp for async HTTP, subprocess + ffmpeg to convert mp3 to OGG, and a play step to verify output. Code on GitLab demonstrates reading link lists, running many downloads at once, handling async context managers, and adding a simple limits concurrency mechanism; the live demo is partly faked on conference Wi‑Fi but runs locally and exposes pitfalls like awaiting the wrong object and exception handling.

AI-written summary · about

  1. 0:00Introduction
  2. 6:24Async IO
  3. 12:05Testing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.