os.listdir(<file specifications>) doesn't work ??
Looney, James B
james.b.looney at lmco.com
Mon May 14 17:44:48 EDT 2007
The case sensitivity has to do with the OS you're on. So, using glob
from Un*x is case sensitive, but from Windows it isn't.
-----Original Message-----
From: python-list-bounces+james.b.looney=lmco.com at python.org
[mailto:python-list-bounces+james.b.looney=lmco.com at python.org] On
Behalf Of Stef Mientki
Sent: Monday, May 14, 2007 3:39 PM
To: python-list at python.org
Subject: Re: os.listdir(<file specifications>) doesn't work ??
Michel Claveau wrote:
> Hi!
>
>
>> You want the glob module
>
> Warning: glob has "unix like behavior"; just a little different with
> windows's DIR
Don't know the details of "Unix"
but I thought "unix" was case-sensitive,
and glob.glob doesn't seem to be,
at least not on windows systems ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list