Time display without colon

John Francis john at mediamanager.com.sg
Tue Jun 15 05:56:27 EDT 1999


Hi,

I want to display time without colon separting them

I am using strftime(format,tuple) function.

But the display is like this HH:MM:SS

But I am trying to put it in a table form by extracting from the text
file

TIME: HH:MM:SS

My extraction of each line is based on the colon splitting the field
name and the value in the field, but my script goes heywire when I have
the above format (TIME:HH:MM:SS) is there a way to extract this or to
display TIME in different format.

Thanking you

Regards
John





More information about the Python-list mailing list