How to track files processed
Peter Otten
__peter__ at web.de
Mon Apr 18 08:30:42 EDT 2016
Sayth Renshaw wrote:
> If you are parsing files in a directory what is the best way to record
> which files were actioned?
What do you do with the result of the parsing process? If you write it to
another file you can just look if that file already exists. If you write it
to a database there may be a specific record to look for.
> So that if i re-parse the directory i only parse the new files in the
> directory?
Can you give some context? What are you trying to do? Is your application
running all the time or would you like to invoke it, process new files and
then terminate?
More information about the Python-list
mailing list