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
En esta página del sitio puede ver el video en línea How to Use AsyncIO, Async/Await and Aiohttp for Asynchronous Programming in Python? de Duración hora minuto segunda en buena calidad , que subió el usuario SUNNY BHAVEEN CHANDRA 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,525 veces y le gustó 76 a los espectadores. Disfruta viendo!