Searching

ADE na
Mon Feb 9 22:54:01 CET 2004


Hi sorry about that I am running Python 2.3 and Windows XP

"Scott David Daniels" <Scott.Daniels at Acm.Org> wrote in message
news:40280886$1 at nntp0.pdx.net...
> ADE wrote:
>
> > Hi I was wondering if one of you could help me out
> You are missing info on your system and python version.
> If you are running 2.3 or later:
> >...
> >             for name in files:
>  >                 name = name.lower()    # if on windows
> >                 if name.endswith('.jpg') and 'ocean' in name:
> >                     filenames['jpg'].append(os.path.join(root, name))
> >                     self.listbox1.insert(END, name)
> >                 elif name.endswith('.gif') and 'ocean' in name:
> >                     filenames['gif'].append(os.path.join(root, name))
> >                     self.listbox1.insert(END, name)
>
> -- 
> -Scott David Daniels
> Scott.Daniels at Acm.Org





More information about the Python-list mailing list