#NEWLINE# def mktemp( self , * parts ) : #NEWLINE# #INDENT# filename = self . norm ( * parts ) #NEWLINE# ( base , file ) = os . path . split ( filename ) #NEWLINE# if ( not os . path . exists ( base ) ) : #NEWLINE# #INDENT# os . makedirs ( base ) #NEWLINE# #UNINDENT# f = open ( filename , 'w' ) #NEWLINE# f . close ( )