#NEWLINE# def _get_temp_template( self , filename ) : #NEWLINE# #INDENT# ( f , filename ) = os . path . splitdrive ( filename ) #NEWLINE# filename = filename . replace ( '\\' , '_' ) #NEWLINE# filename = filename . replace ( '/' , '_' ) #NEWLINE# ( f , ext ) = os . path . splitext ( filename ) #NEWLINE# filename = ( f + '.py' ) #NEWLINE# return os . path . normpath ( os . path . join ( self . tmp_dir , filename ) )