/ Published in: Python

Scripts can also be executed from within the interpreter using the execfile(script) function built in to Python.
The following example shows a script being executed using the execfile() function:
The following example shows a script being executed using the execfile() function:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
>>> execfile("script.py") Executing a Script >>>
Comments
