How do I run a python script from within the IDLE interactive shell?
The following throws an error:
>>> python helloworld.py SyntaxError: i
I tested this and it kinda works out :
exec(open('filename').read()) # Don't forget to put the filename between ' '