current position:Home>How is the progress bar of Python multi process displayed on the UI?

How is the progress bar of Python multi process displayed on the UI?

2022-02-02 22:44:39 CSDN Q & A

I think we have UI The user-defined multi process processing progress is displayed on the interface ,
The four progress bar display methods used are :
1、

QProgressBar

Can't update in real time
2、

from progressbar import ProgressBar

This has only been achieved , Real time progress is printed on the console
3、

from tkinter.ttk import Progressbar

This only achieves single process operation , As a pop-up prompt
4、

from tqdm import tqdm

This is the same as the second , Only printing on the console

Would like to ask if there is a way to realize my needs , If already UI If the display is unsuccessful , Whether the pop-up window can be used to show ?




Refer to the answer 1:

It was used pypubsub To deliver progress messages to UI Did you? ?
Refer to this , See if it helps
https://blog.csdn.net/seakingx/article/details/106002314




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022244373452.html

Random recommended