Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74273
| From | Dave Angel <davea@davea.name> |
|---|---|
| Subject | Re:Writing Python File at Specific Interval |
| Date | 2014-07-09 14:55 -0400 |
| Organization | news.gmane.org |
| References | <33d2582e-06b6-4cb9-8d60-7f94aa32283c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11707.1404931993.18130.python-list@python.org> (permalink) |
subhabangalore@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? -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Writing Python File at Specific Interval subhabangalore@gmail.com - 2014-07-09 07:36 -0700
Re:Writing Python File at Specific Interval Dave Angel <davea@davea.name> - 2014-07-09 14:55 -0400
Re: Writing Python File at Specific Interval Shubham Tomar <tomarshubham24@gmail.com> - 2014-07-09 22:47 +0530
Re: Writing Python File at Specific Interval Abhiram R <abhi.darkness@gmail.com> - 2014-07-09 23:09 +0530
Re: Writing Python File at Specific Interval Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-09 23:51 +0000
Re: Writing Python File at Specific Interval subhabangalore@gmail.com - 2014-07-20 04:15 -0700
Re: Writing Python File at Specific Interval Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-20 12:46 +0100
csiph-web