In this video, you will learn how to use asyncio, await, asyncio.run method and aiohttp.ClientSession class for downloading images from pexels.com given URLs asynchronously. You will also compare the speed of execution in the asynchronous way and the normal synchronous or sequential way of coding in Python.
Resources:-
Project Repository: https://github.com/c17hawke/asyncio-demo
Base Template: https://github.com/c17hawke/base_repo
You will learn:
Introduction: What is the goal of this video and what are the tools and libraries you will use
Theory: What is asynchronous programming and how it differs from synchronous or sequential programming
Coding the synchronous or sequential way: How to write a simple Python script that downloads images from pexels.com given URLs synchronously or sequentially and measures the time it takes
Coding the asynchronous way: How to write a similar Python script that downloads images from pexels.com given URLs in an asynchronous way using asyncio, await, asyncio.run method and aiohttp.ClientSession class and measures the time it takes
Comparison: How to compare the speed of execution of the two scripts and see the difference
By the end of this video, you will have a clear understanding of how to use asyncio, await, asyncio.run method and aiohttp.ClientSession class for downloading images from pexels.com given URLs asynchronously. You will also see how much faster and smoother the asynchronous way is compared to the synchronous or sequential way.
If you enjoyed this video, please like, share, and subscribe to my channel. Also, don’t forget to check out my other videos on Python programming. Thanks for watching!
Follow me for more updates:
Github: https://github.com/c17hawke
LinkedIn: / c17hawke
Medium: / c17hawke
#python #asyncio #aiohttp
На этой странице сайта вы можете посмотреть видео онлайн How to Use AsyncIO, Async/Await and Aiohttp for Asynchronous Programming in Python? длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SUNNY BHAVEEN CHANDRA 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,525 раз и оно понравилось 76 зрителям. Приятного просмотра!