#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( Demo , self ) . __init__ ( ) #NEWLINE# ( x , y , w , h ) = ( 500 , 200 , 300 , 400 ) #NEWLINE# self . setGeometry ( x , y , w , h ) #NEWLINE# path = 'captcha.jpg' #NEWLINE# pix = QtGui . QPixmap ( path , flags = QtCore . Qt . MonoOnly ) #NEWLINE# label = QtGui . QLabel ( 'foo' , self ) #NEWLINE# label . setPixmap ( label ) #NEWLINE# label . move ( 10 , 10 )