#NEWLINE# def onKeyDown( self , canvas , key ) : #NEWLINE# #INDENT# if hasattr ( canvas , 'x' ) : #NEWLINE# #INDENT# T = canvas . text ( T , canvas . x , canvas . y , 200 , 200 ) #NEWLINE# T . size ( random . randint ( 9 , 48 ) ) #NEWLINE# T . listFonts ( ) . addCallback ( ( lambda fnts : T . font ( random . choice ( fnts ) ) ) ) #NEWLINE# canvas . x += 15