Re: [Tutor] matching a file

2005-12-28 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > Hi! > > I would to working with some files. But I have to using a regular expression > with one of them: > > for file in [glob.glob('/etc/env.d/[0-9]*foo'), '/etc/bar']: > > glob returns a list so i'm supposed that i would that convert it into a > string. glob.g

[Tutor] matching a file

2005-12-28 Thread jonasmg
Hi! I would to working with some files. But I have to using a regular expression with one of them: for file in [glob.glob('/etc/env.d/[0-9]*foo'), '/etc/bar']: glob returns a list so i'm supposed that i would that convert it into a string. Is it correct? Thanks for your help ___