File in a directory

Oliver Marugg oliver at marugg.net
Fri Mar 23 10:38:59 EST 2001


Hi,

I am a newbie in Python (reading Learning Python now) and have no idea
how I should solve the following problem:

In a local directory there are files (all the same type), which are
spooled in that directory through a stream (NFS, FTP or other). Now I
should read the content of that directory to verify if the size and/or
timestamp of one or more files has changed in past 5 minutes. If there
was a change in size wait, otherwise do something with these files.

Has anyone an idea how to solve that with the size or timestamp
verification?

Thank you.

Oliver Marugg






More information about the Python-list mailing list