Bruce R Graham wrote:
> I have most of the pieces in place, except I can't find out how to
> retrieve the date modified attribute of a file. Does anybody know how
> to do that?
t = os.path.getmtime(filename)
returns the timestamp as seconds since the epoch. see the "time" and
"datetime" modules
Bruce R Graham enlightened us with:
> Run a script in cron.daily. The script should check a timestamp
> placed by the last occurrence of that script. Then check my home
> folder for files modified between that timestamp and now. Then send
> those files off to gmail.
> I have most of the pieces in p