Lambert Labs
Published in

Lambert Labs

How to use asyncio in Python to achieve concurrency? — #12

Welcome to Learning at Lambert Labs session #12. This week, Rafiq Hilali, takes us asyncio, part of the Python standard library, and how you can use it to achieve concurrency with asynchronous coroutines.

In Today’s Learning Session:

  • Different types of concurrency (threading, multiprocessing, asynchronous coroutines).
  • What are asynchronous coroutines?
  • When should you use asyncio?
  • Demo using app that uses IP address to find local weather
  • aiohttp client framework for asynchronous requests.
  • asynchronous vs. synchronous.

🔊 Subscribe to our channel for weekly learning sessions!

🔗 Lambert Labs Links 🔗 :

🌎 Website:​​

📱 Twitter:​

📝 LinkedIn:

📂 GitHub:​​



Lambert Labs is a Python-focused software development agency based in Earls Court, London.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store