Python Multiprocessing Guide: Returning Output From A Process

Python Multiprocessing Guide: Returning Output From A Process

LetsLearnWithJad

3 года назад

14,146 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sanju Kumar
Sanju Kumar - 09.05.2023 21:32

I was working on a tkinter app , where in args are given through input box and as soon as we hit search button it should start a process , but it through a some pickle error and a duplicate gui window opens up.
I’ll be happy if you make an video explaining multiprocessing using tkinter gui as an example .

Ответить
Stellantis
Stellantis - 25.10.2022 10:18

Thanks for this nice and clear presentation :)

Ответить
Pijush Dutta
Pijush Dutta - 10.10.2022 17:11

Hey Jad, do you know how to return to error_callback

Ответить
HussBTW
HussBTW - 29.03.2022 19:58

I'm a beginner and I'm confused on this line of code? Basically, I'm trying to get it to execute the code but it wont:

subprocess.Popen('.vscode\\CalculatorGui.py', shell=True)

How can you make this execute the code?

Thanks

Ответить
Utaya Surian
Utaya Surian - 04.08.2021 19:14

How to solve broken process pool on multiprocessing?

Ответить
frankda4
frankda4 - 07.05.2021 02:03

So normally I see a process gets passed a target function? But here I don’t see anywhere that you tell process to use run method as the target. Why does chef.start() use run? Or is this assumed that “run” is the target? Can you pass an arbitrary method of the class for the target function instead?

Ответить
Ben Nguyen
Ben Nguyen - 13.01.2021 00:34

Supposing the queue had more data than you want to process at any one time, is there a way to retrieve X number of elements from it only? My serial port is filling a queue with 4 bytes (tuple).. is there a way to get from the queue, 1 tuple at a time (4 bytes)?

Ответить
Victor-Marius Pîrvan
Victor-Marius Pîrvan - 27.12.2020 09:46

How big is that queue?

Ответить
Kevin Chow
Kevin Chow - 08.09.2020 21:32

Nice job! You should keep making videos

Ответить
Daniel Shats
Daniel Shats - 07.09.2020 17:36

how to make general ai vid next pls with code thx

Ответить
Elissar Zeineddine
Elissar Zeineddine - 26.08.2020 02:37

love it!!

Ответить
LetsLearnWithJad
LetsLearnWithJad - 25.08.2020 21:06

What should I cover next?

Ответить