Progress Bar in tkinter Python
Progress bar
widget allows you to give feedback to the user about the progress of a
long-running task.The purpose of this widget is to reassure the user
that something is happening.
-->used in loading or downloading types of process.
-->useful to display the status of an operation or task.
-->can indicate the evolution of a certain process(example downloading a file from the Internet).
-->represent that an operation is being executed. Remaining time is unknown.
Example:
******Your code Below*****
from tkinter import *
from tkinter import ttk
root = Tk()
root.title("Progress Bar")
root.config(background="#FFF8DC")
root.geometry("700x300+580+86")
lbl= Label(root,text="Progress Bar",font=("Times", 30, "bold"))
lbl.pack(pady=20)
my_progress = ttk.Progressbar(root, orient=HORIZONTAL,length=400)
my_progress.pack(pady=30)
btn = Button(root, text="Progress Button",font=('times',20,'bold'))
btn.pack(pady=40)
root.mainloop()
********End Code**********
Write Down Code Your Code Editor. To show Your Output. If Use Pycharm Press Shift+F10 and Show Your Output.
Enjoy..............
If You Want To Learn More Plz Visit www.newpost24.com
If You Find Specific link plz Follow
إرسال تعليق