Re: Change on file

2006-10-25 Thread Ben Finney
Fulvio <[EMAIL PROTECTED]> writes: > *** > Your mail has been scanned by InterScan MSS. > *** Fulvio, something between your fingers and the Python mailing list is causing this to appear at on *every* message you send to this list. Please do whatever you n

Re: Change on file

2006-10-25 Thread Fulvio
*** Your mail has been scanned by InterScan MSS. *** On Tuesday 24 October 2006 20:22, Alan Franzoni wrote: > it could put the system under severe workload. Thank you for the enlightment :-) In my case it's meant to check a couple of files, but no more tha

Re: Change on file

2006-10-24 Thread Alan Franzoni
Il Tue, 24 Oct 2006 19:47:43 +0800, Fulvio ha scritto: > Hello, > > I was thinking about use md5 check to se if a file had changes since last > check. Am I correct? > Is there any other light method? It's OK, but if you have a lot of files to check and they're large, and changes frequent, it co

Re: Change on file

2006-10-24 Thread Marshall
You could use ctime to see it by the time. MD5 it's a most secure way to a file that CAN'T be modified. If you just want to see if the file has been modified (like to make a cache), use ctime. -- http://mail.python.org/mailman/listinfo/python-list

Re: Change on file

2006-10-24 Thread Sybren Stuvel
Fulvio enlightened us with: > I was thinking about use md5 check to se if a file had changes since > last check. Am I correct? You can do that, but a check on the mtime (os.stat) would be a lot easier. Sybren -- Sybren Stüvel Stüvel IT - http://www.stuvel.eu/ -- http://mail.python.org/mailman

Change on file

2006-10-24 Thread Fulvio
*** Your mail has been scanned by InterScan MSS. *** Hello, I was thinking about use md5 check to se if a file had changes since last check. Am I correct? Is there any other light method? F -- http://mail.python.org/mailman/listinfo/python-list