According to the documentation, instead of
execfile("./filename")
Use
exec(open("./filename").read())
See:
- What’s New In Python 3.0
According to the documentation, instead of
execfile("./filename")
Use
exec(open("./filename").read())
See: