This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giunghi
Recipients giunghi
Date 2010-04-14.13:15:00
SpamBayes Score 3.2334135e-12
Marked as misclassified No
Message-id <1271250901.88.0.682481223536.issue8398@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-04-14 13:15:01giunghisetrecipients: + giunghi
2010-04-14 13:15:01giunghisetmessageid: <1271250901.88.0.682481223536.issue8398@psf.upfronthosting.co.za>
2010-04-14 13:15:00giunghilinkissue8398 messages
2010-04-14 13:15:00giunghicreate