#NEWLINE# def _write_wrapper_class( self , node , tvtk_name ) : #NEWLINE# #INDENT# 'Write the wrapper code to a file.' #NEWLINE# fname = ( camel2enthought ( tvtk_name ) + '.py' ) #NEWLINE# out = open ( os . path . join ( self . out_dir , fname ) , 'w' ) #NEWLINE# self . wrap_gen . generate_code ( node , out ) #NEWLINE# out . close ( )