Created
September 6, 2016 12:27
-
-
Save fereria/df03793503dccba6396a2c2f6bd0a99e to your computer and use it in GitHub Desktop.
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
# test.py ファイル | |
def test_script(arg): | |
print arg | |
# ↑を実行しようとした場合 | |
G = {} | |
execfile("C:/test.py", G) | |
G['test_script']("hello world!!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment