How do I run a python script from within the IDLE interactive shell?
The following throws an error:
>>> python helloworld.py SyntaxError: i
For example:
import subprocess subprocess.call("C:\helloworld.py") subprocess.call(["python", "-h"])