"Thomas Charron" <twaf...@gmail.com> writes:

> On Tue, Jan 6, 2009 at 4:26 PM, Paul Lussier <p.luss...@comcast.net> wrote:
>> Hi Folks,
>> Is there a python way to get HH:MM:SS from time.localtime()  ?
>
>   time.strptime?

One would have thought...

  >>> time.strptime(time.localtime())
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/opt/local/lib/python2.5/_strptime.py", line 327, in strptime
      found = format_regex.match(data_string)
  TypeError: expected string or buffer

-- 
Seeya,
Paul
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to