SyntaxFix
Write A Post
Hire A Developer
Questions
Use execfile for Python 2:
>>> execfile('C:\\test.py')
Use exec for Python 3
>>> exec(open("C:\\test.py").read())