SyntaxFix
Write A Post
Hire A Developer
Questions
You could write your own function:
def xfile(afile, globalz=None, localz=None): with open(afile, "r") as fh: exec(fh.read(), globalz, localz)
If you really needed to...