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