os.path.exists discrepancy

Andreas Kostyrka andreas at kostyrka.org
Mon Nov 15 02:51:43 EST 2004


On Sun, Nov 14, 2004 at 11:47:18PM -0800, Robert Brewer wrote:
> <!-- scan image not found: u'S:/Scans/Projects/2004/TJ/04TJ0267.jpg' -->
> 
> As you can see, the two paths are equal. Prompting my reaction: bzuh? My
> next thought was to read through the os module source--perhaps the
> import of "path" was dependent on context. It is, but os.path.__file__
> is the same in both contexts: 'C:\\Python23\\lib\\ntpath.pyc'
> 
> Any ideas or workarounds?
Permissions? Even Windows know these nowadays ;) -> and it's probable
that the Webserver runs with minimal priviledges ;)

Andreas



More information about the Python-list mailing list