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.
0:27 Introduction
0:49 What is asyncio?
2:50 What makes asynchronous code?
3:37 keywords: async, await, return, yield
4:40 What is the await keyword
5:27 Demo
17:04 Questions
🔊 Subscribe to our channel for weekly learning sessions!
/ @lambertlabs
🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/
📱 Twitter: / lambertlabs
📝 LinkedIn: / lamb. .
📂 GitHub: https://github.com/lambertlabs
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
Python
Asynchronous coroutines
Multithreading
Concurrency