#NEWLINE# def makeSourceFile( self , sourceLines ) : #NEWLINE# #INDENT# '\n        Write the given list of lines to a text file and return the absolute\n        path to it.\n        ' #NEWLINE# script = self . mktemp ( ) #NEWLINE# scriptFile = file ( script , 'wt' ) #NEWLINE# scriptFile . write ( ( os . linesep . join ( script ) + os . linesep ) ) #NEWLINE# scriptFile . close ( ) #NEWLINE# return os . path . abspath ( script )