[Tutor] matching a file

jonasmg@softhome.net jonasmg at softhome.net
Wed Dec 28 15:18:15 CET 2005


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 

Is it correct? 

Thanks for your help

More information about the Tutor mailing list