Easy way to get 15 free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

MultiThreading in Python | Python Concurrent futures | ThreadPoolExecutor

Follow
Cognitive Programmer

The complete playlist for multithreading and multiprocessing in python    • Python Multi Threading and Multi Proc...  

Welcome to the video series on multithreading and multiprocessing in python programming language. In this video I'm talking about Python concurrent futures, which is an alternative way of doing multithreading and multi processing in python programming language.

The idea behind futures is not new and pretty much all programming languages have it in one way or others, but most of the time this topic is a bit confusing for the people. I've tried to make it simpler so that its easy for everyone to understand.

In this video, I've talked about creating multiple threads using ThreadPoolExecutor, I've talked about 3 way by which we can use the ThreadPoolExecutor to create multiple async tasks and take back the result from the async functions. I've also talked about using maps to put multiple async tasks

Hope this video will help you to understand concurrent future and you'll like this video.

Thanks for watching. Here are the contents of this video.

Timecodes
0:00 : Concurrent.futures in python
0:54 : Meaning of Futures in Programming Languages
2:39 : Using concurrent futures in python
4:33 : Creating Threads for async tasks
5:51 : Using ThreadPoolExecutor of concurrent.futures
8:19 : Using ThreadPoolExecutor Map in python
10:10 : ThreadPoolExecutor return values from asyn functions


#python #multithreading #futures #concurrentfutures #machinelearning #dataanalytics #python3 #pythontutorial


About Me i.e. An Insightful Techie

Greetings and Thanks a lot for checking out my YouTube Channel. I’m Deepak K Gupta (Daksh). This channel is a medium for me to share my learnings and journey as a Techie so that you not only learn from my experience but also from my mistakes

As a techie I am closely associated with software development, so most of my content will revolve around Programming Languages, AI, Machine learning and Databases. I share things which will help you learn, remember and use these things in an effective and efficient way.

As a Techie, I also know that there is a life beyond software development and it has a profound impact on our career as well as on our well being. I also share those learnings which I feel are worth sharing with the intention that it MAY help you in taking better decisions in your life.

Last but not the least, I'm a traveler and explorer by nature. I would like to take you with me on some of the interesting journeys around the world. Believe me there is more to learn outdoors than indoors

Hope you’ll like my contents and will be part of my journey

SUBSCRIBE https://www.youtube.com/AnInsightfulT...
INSTAGRAM https://www.intagram.com/AnInsightful...
Twitter   / awisetechie  
Facebook   / aninsightfultechie  

posted by mywarcrya9