#NEWLINE# def _execfile( filename , globals , locals = None ) : #NEWLINE# #INDENT# '\n    Python 3 implementation of execfile.\n    ' #NEWLINE# mode = 'rb' #NEWLINE# with open ( filename , mode ) as stream : #NEWLINE# #INDENT# script = stream . read ( ) #NEWLINE# #UNINDENT# if ( ( sys . version_info [ : 2 ] < ( 2 , 7 ) ) or ( ( sys . version_info [ : 2 ] >= ( 3 , 0 ) ) and ( sys . version_info [ : 2 ] < ( 3 , 2 ) ) ) ) : #NEWLINE# #INDENT# script = script . replace ( b'\r\n' , b'\n' ) #NEWLINE# script = script . replace ( b'\r' , b'\n' ) #NEWLINE# #UNINDENT# if ( locals is None ) : #NEWLINE# #INDENT# locals = globals #NEWLINE# #UNINDENT# code = compile ( script , filename , 'exec' ) #NEWLINE# exec ( code , globals , locals )