0

I have Loop whose range is from 0 to 100000 , I want to show it's accurate progress in progress bar , but I have problem my progressbar runs even after completing 100% progress so how can I make actual progress indication when I make loop even 100000 times

My code In python pyqt5:-

  bar.setMinimum(0)
  bar.setMaximum(100)

  for i in range(0,100000):
         ### Here is my function that perform my process and delay for 1 
         ## second
         bar.setValue(i)

0 Answers0