Добавить
Уведомления

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. 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! https://www.youtube.com/channel/UCi7G5sY0IWqSNUMnRptuJmw ? Lambert Labs Links ? : ? Website: https://lambertlabs.com/ ? Twitter: https://twitter.com/lambertlabs ? LinkedIn: https://www.linkedin.com/company/lamb... ? GitHub: https://github.com/lambertlabs ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡ ⭐ Tags ⭐ - Python - Asynchronous coroutines - Multithreading - Concurrency

12+
17 просмотров
2 года назад
12+
17 просмотров
2 года назад

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! https://www.youtube.com/channel/UCi7G5sY0IWqSNUMnRptuJmw ? Lambert Labs Links ? : ? Website: https://lambertlabs.com/ ? Twitter: https://twitter.com/lambertlabs ? LinkedIn: https://www.linkedin.com/company/lamb... ? GitHub: https://github.com/lambertlabs ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡ ⭐ Tags ⭐ - Python - Asynchronous coroutines - Multithreading - Concurrency

, чтобы оставлять комментарии