|
Well, let me try this again. I'm only interested in time. The user sees
a widget dialog that asks him to put the time in it in the format
HH:MM:YY, so he enters 15:30:10, or, as before 15:00:00. The value gets
back to the code I'm working in as 15:30:10 as the type in Subject. I
need to write the value to a file as a string, "15:30:10". In fact, I
want to write it as start_time=15:30:10 in a txt file. Ah, this was as simple as using str(time_value), where time_value was of the aforementioned type. That's Kent's [4], and looked tempting for its simplicity. Too simple, I guess for me to try. str() had a little more umph that I thought. I had played around with the datetime module some many months for many combos of date+time, and anticipated having to beat against it again. Thankfully not here. :-) Good. Thanks. wesley chun wrote: On Fri, Feb 13, 2009 at 3:50 PM, Wayne Watson <[email protected]> wrote: --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
Shhhh, quiet. I'm thinking about filling this space.
Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
