[Tutor] ok, I want to read a dir.
Kirk Bailey
deliberatus@my995internet.com
Thu, 27 Dec 2001 19:50:01 -0500
HAH! Our messages crossed! I just noticed this reading the reference,
and wrote to you. So how do we do this and not invoke functions not in
1.5.2?
"Michael P. Reilly" wrote:
>
> On Thu, Dec 27, 2001 at 07:29:39PM -0500, Kirk Bailey wrote:
> > it got me this:
> >
> > Traceback (innermost last):
> > File "./TLwebmgr.py", line 31, in ?
> > filelist = fnmatch.filter(os.listdir('./lists'), "*.info")
> > AttributeError: filter
> > ns#
> >
> > AttributeError: filter??? Hmmm?
>
> The fnmatch.filter funciton was added only in Python 2.2. The glob.glob1
> function I mentioned has been in Python since before 1.5.2.
>
> -Arcege
>
> --
> +----------------------------------+-----------------------------------+
> | Michael P. Reilly | arcege@speakeasy.net |
> | Ailment info: http://www.speakeasy.org/~arcege/michaelwatch.html |
--
Respectfully,
-Kirk D Bailey (C)2001
Addme! icq #27840081
end
Within the sweep of his sword, Each man is an Ubar.
http://www.howlermonkey.net/
http://www.sacredelectron.org/