New submission from marco stamazza <giun...@gmail.com>: On my windows Xp system running Python 2.6 (from the (x,y) package) I tried to load a module named "GetMy.com_MOD.py". I kept receiving the error Traceback (most recent call last): File "D:\Docs\Futures-Strategy\StCHF\Test\GetMy.com_2.py", line 6, in <module> import GetMy.com_MOD ImportError: No module named GetMy.com_MOD
Until I removed the dot renaming it to GetMycom_MOD.py, which works very nicely. Maybe the search should be smart enough to look for the last word after a dot to determine if the module exists or not? Many thanks guys, Python rocks. marco ---------- components: Interpreter Core messages: 103127 nosy: giunghi severity: normal status: open title: Modules with a dot in the filename don't load type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com