[Tutor] matching a file

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


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


More information about the Tutor mailing list