fnmatch on filename (without specific extension)

kepioo nkammah at yahoo.fr
Sun Apr 9 09:00:04 EDT 2006


i agree with you, it is better to find by ourself.

i managed to do it, but i left the code at work. i used the re module ,
using a re.match("Results Log") and a re.search(date) with a function
to find the date og the day with the appropriate format.

Is it ok to use re for file names? or fnmatch is more efficient?

thanks anyway!

Nassim




More information about the Python-list mailing list