In this article we will see how to set the value of progress bar. Progress bar is basically a bar which is used to visualize the progression of an extended computer operation, such as a download, file transfer, or installation.
In order to set value to progress bar we will use
Syntax : bar.setValue(value)
Argument : It takes integer as argument, which should vary from 0 to 100.
Action performed : It will set value to progress bar.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.