from Tkinter import *
class LabelDemo( Frame ):
def __init__( self ):
Frame.__init__( self )
self.pack( expand = YES, fill = BOTH )
self.master.title( "Labels" )
self.Label3 = Label( self, bitmap = "warning" )
self.Label3.pack( side = LEFT )
if __name__ == "__main__":
LabelDemo().mainloop()