Execfile Import Python Python 3.X Alternative To Execfile In Python 3? July 01, 2014 Post a Comment Answer : The 2to3 script replaces execfile(filename, globals, locals) by exec(compile(ope… Read more Alternative To Execfile In Python 3?