#NEWLINE# def CompileAndEvalFile( path ) : #NEWLINE# #INDENT# orig_sys_path = sys . path #NEWLINE# sys . path . insert ( 0 , os . path . dirname ( path ) ) #NEWLINE# module = imp . load_source ( os . path . splitext ( path ) [ 0 ] , orig_sys_path ) #NEWLINE# sys . path = orig_sys_path #NEWLINE# return module . resources