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

preview_player
Показать описание
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!

🔗 Lambert Labs Links 🔗 :

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Python
- Asynchronous coroutines
- Multithreading
- Concurrency
Рекомендации по теме