Created
July 9, 2012 11:42
-
-
Save msmhrt/3076005 to your computer and use it in GitHub Desktop.
Pythonでtest.pyを作るな! ref: http://qiita.com/items/7e2a335a4c64bcc6e044
This file contains hidden or 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
| $ echo from test import support >test.py | |
| $ python test.py | |
| Traceback (most recent call last): | |
| File "test.py", line 1, in <module> | |
| from test import support | |
| File "/tmp/tmp.TWTFmPjXqY/test.py", line 1, in <module> | |
| from test import support | |
| ImportError: cannot import name support | |
| $ mv test.py test_.py | |
| $ python test_.py | |
| $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment