os.path query functions behavior incorrect?

wittempj@hotmail.com martin.witte at gmail.com
Tue Apr 5 15:26:42 EDT 2005


It works fine under linux
martin at ubuntu:~ $ python
Python 2.3.4 (#2, Feb  2 2005, 11:10:56)
[GCC 3.3.4 (Debian 1:3.3.4-9ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> os.path.exists('/blah')
False
>>> os.path.isdir('/blah')
False
>>> os.path.isdir('/home/martin')
True
>>> os.path.exists('/home/martin')
True
>>>




More information about the Python-list mailing list