Created
May 6, 2014 15:21
-
-
Save stlehmann/331e28d13a34efad956a to your computer and use it in GitHub Desktop.
Execute a Python script from Python console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Python2 | |
execfile("./filename") | |
#Python3 | |
exec(open("./filename").read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment