python file without extension works, but with .py extension fails to import my module
<p>My python file has "from .. import" statement to package under C:\Python27\Lib\site-packages.<br>
If my file name does not have any extension (e.g. foo ) then  "python foo" works. <br>
If I rename file from foo to foo.py then the "from .. import" statement to that package fails in foo.py:</p>

<pre>
try:
    from my_package.System.prefix import ...
except ImportError:
    print "ERROR: Could not import modules."
</pre>

<p>I have:<br>
 PYTHONPATH=C:\Python27\Lib\site-packages <br>
 Environment: Windows XP/ Python 2.7</p>
