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 i
kepioo wrote:
> I have some files in a directory :
> Results Log, 11;21AM, Apr 09 2006.txt
> Results Log, 11;21AM, Apr 08 2006.txt
> Results Log, 03;59AM, Apr 07 2006.txt
> otherfile1.txt
> otherfile2.txt
>
> I'd like to copy all the Results Log file, whatever the hour but with a
> specific day. F
Hi,
I have some files in a directory :
Results Log, 11;21AM, Apr 09 2006.txt
Results Log, 11;21AM, Apr 08 2006.txt
Results Log, 03;59AM, Apr 07 2006.txt
otherfile1.txt
otherfile2.txt
...
I'd like to copy all the Results Log file, whatever the hour but with a
specific day. For instance, today (