Multiprocessing in Python | Part 2 | python tutorials

preview_player
Показать описание
In this video, I will explain what MultiProcessing is and how can implement it in our python programs, we will explore various important classes of multiprocessing module in python like Process and Lock along with the code examples.
#multiprocessing #process #pycharm #lock #scipy #python3 #python
If you like the content of this video, just give a thumbs up for my appreciation, please!

# Link to the previous video (Part 1):

# Link to the official documentation:

❤️ If you find my content helpful, become a channel member -

======== Contribute ===========
🔥 Hit the link below to contribute to translations

====== Join me on Facebook: =======

===== Join on Pinterest to be a step ahead for future videos ========

===== Visit my website =======

-~-~~-~~~-~~-~-
Please watch: "Compile Python to C | cython, pypy,numba | python tutorials "
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Your feedback is truly important to me. So, bombarded me with your quires, questions, and criticism 😎. And, smash the like button 👍

Pythonist
Автор

Hi!!where can i get the example code?thank you!!
you did great job at explaining!

anyasheh
Автор

Your slow voice is very easy for me to understand what are you talking about even i'm not good at English!!!

ongpytran
Автор

I attempted to run the pool example using the python IDLE, but could not get anything from tasks_exec to print. Oddly, everything seems to run without error and there is a gap of time that fits the times provided in the tasks list.

johnthroneberry
Автор

Could you do an example of the multiprocessing capability with an example where you fit multiple models machine learning or time series -functions at the same time? That would be great.

Karenshow
Автор

You should link all the code that you write here. A simple paste bin would suffice too

muhammadsarimmehdi
Автор

How about a video on multiprocessing class member functions that modify the class data and you having to get that passed back.
There are thousand tutorials like this. But I have yet to find one covering that.
My guess is because its a lot harder. In fact from what I seen its even harder than it is for me to do in C++ or C for that matter.
So much for python being the easy language to use.

diconicabastion
Автор

may i use Lock and Queue with Pool? Or these already implemented in the Pool library?

orlandomoura
Автор

Help me 🥺
He asked us to run a code in which there are 12 proceses, you divide them by 3 every 4 run a task
4=>put
4=>corect
4=>get
We have a queue of 20
What is required is that the processors responsible for put put random numbers in queue
The process spacing of the correct response decreases the value by 2 from the random number, and the process spacing that results in the get read the values ​​in the queue
I told you, you have to put in order to get the value of receiving a branch.
And between the process of putting, correcting and getting, it must be done in 1.5 minutes

femaleworlddz
Автор

He asked us to run a code in which there are 12 proceses, you divide them by 3 every 4 run a task
4=>put
4=>corect
4=>get
We have a queue of 20
What is required is that the processors responsible for put put random numbers in queue
The process spacing of the correct response decreases the value by 2 from the random number, and the process spacing that results in the get read the values ​​in the queue
I told you, you have to put in order to get the value of receiving a branch.
And between the process of putting, correcting and getting, it must be done in 1.5 minutes
Please help me🥺

femaleworlddz