How do I run a python script from within the IDLE interactive shell?
The following throws an error:
>>> python helloworld.py SyntaxError: i
You can use this in python3:
exec(open(filename).read())