os.path query functions behavior incorrect?

Mike Rovner mrovner at propel.com
Tue Apr 5 14:25:43 EDT 2005


Beman Dawes wrote:
> So are these os.path functions specified and implemented incorrectly? Should 
> they instead throw exceptions for the above examples?

Works for me. (Win XP SP2, Py 2.4, only have c and d drives)

 >>> os.path.exists('d:\\')
True
 >>> os.path.exists('e:\\')
False
 >>> os.path.exists('a:\\')
False
 >>>




More information about the Python-list mailing list