On 2009-09-05, Pascale Mourier <pascale.mour...@ecp.fr> wrote:

> Well, os.listdir('C:') instead of raising an exception, for
> some reason behaves like os.listdir('.').

Windows (and DOS) have worked like that for decades.  A lone
drive letter always refers to the "current directory" on that
drive.  It's been that way since the very first versions of
PC-DOS and MS-DOS.

-- 
Grant

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to