Writing Python File at Specific Interval

Dave Angel davea at davea.name
Wed Jul 9 20:55:11 CEST 2014

subhabangalore at gmail.com Wrote in message:
> In the next part, I am trying to store the daily 
> results to a new file. 
> As I researched I found some tips around time module,
> logging module, pythoncom etc. But not getting any important
> lead.

What exactly is the problem? Perhaps you want the file name to
 encode the date, so that today's filename might be 2014-07-09.txt

So you need to look up the current date, make a string from it,
 and create that file. 

What have you tried,  and what went wrong? 


More information about the Python-list mailing list