Async for the Python 2 Programmer @NorthBayPython
Async for the Python 2 Programmer  @NorthBayPython
Uploaded December 2017 | Updated September 2026, 1 day ago
Henry Chen

2017.northbaypython.org/schedule/presentation/13

# Background

* Why async? CPU bound vs IO bound processes.
* Concurrency is not the same as multithreading
* Single threaded concurrency

# Generators - already in Python 2 !

* Generator - a function you can pause!
* How to implement async with generators and event loop in Python 2
* Real working code - a Python version of the JavaScript setTimeout function

# What is new in Python 3 ?

* async/await - really generators in disguise!
* asyncio library - ready made event loop and IO functions
* new syntax and new library are independent - you can mix and match old and new!

About North Bay Python

A single-track conference north of the Golden Gate, focused on community, collaboration, and all things Python.

North Bay Python is a two-day, single-track Python conference held at the Mystic Theatre in Historic Downtown Petaluma, California, over the weekend of December 2 & 3, 2017.

We're a nonprofit conference for professionals, enthusiasts and students alike. We're focused on inclusion, accessibility, diversity, and affordability. Most importantly, we're planning a great lineup of talks from all over the Python ecosystem, with plenty of time to meet new people and develop new ideas.

Our venue, the Mystic Theatre in Downtown Petaluma, is a beautiful example of an early 1900s Vaudeville theatre. You can find over 50 different food and drink options a short walk away, and the nearest hotel is only a block away.

A Python conference north of the Golden Gate


North Bay Python is a single-track conference with a carefully curated set of talks representing the diverse Python community and their different areas of interest.

If a topic is less to your interest, or you've met some people you really want to sit down and chat with, we'll have plenty of areas away from the main theatre to catch up and chat.

Our goal is to keep prices as low as possible. That means we won't be catering lunch. Instead, you can look forward to extra-long lunch breaks you can use to explore all of the great food options around the venue.
Async for the Python 2 ProgrammerFrom Prison to Python - Shadeed Wallace-Stepter (North Bay Python 2019)Or Else! An Exploration of Obscure Control Flow - Amethyst Reese 🌸 (Nbpy2025)Anonymous Functions (and Other Ways to Annoy Your Coworkers) - Joe Kaufeld - 2026Let The Computer Write The TestsThe Perfect Python Project - Glyph (Nbpy2024)How I turned a podcast into a business with Python (and some Other Tools we wont talk about)The Python Community Needs More Cats - Deb Nicholson - 2026Python In The Small - Glyph (Nbpy2025)Snek: A Python-Inspired Language for Tiny Embedded ComputersExploration-Oriented ProgrammingBeyond Programming Paradigms (with Python examples) - Luciano Ramalho (North Bay Python 2023)
North Bay Python |

Async for the Python 2 Programmer

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER