Python Tkinter program for Status Bar
<pre><code>from Tkinter import *
class StatusBar(Frame):   
    def __init__(self, master):
        Frame.__init__(self, master)
        self.label = Label(self, bd=1, relief=SUNKEN, anchor=W)
        self.label.pack(fill=X)        
    def set(self, format, *args):
        self.label.config(text=format % args)
        self.label.update_idletasks()
    def clear(self):
        self.label.config(text="")
        self.label.update_idletasks()
root = Tk()
root.update()
d =StatusBar(root)

d.pack()
mainloop()
</code></pre>

<p>Hi Friend.This is my code for Status bar.Even though i didn't get any error or warning. I had failed to obtain the status bar. But my Widget is getting opened with empty in it.Can any one please help me in this aspect.</p>

<p>Thank you</p>
