newbie printing question

adina_levin at adina_levin at
Tue Oct 16 02:41:50 CEST 2001

I'd like to create a string with the current date and time. I've got the
mxDateTime library, so far so good.

print will generate the date and time to the screen. write
will send it to a file.

But how can I assign this to a string?

I will be most thankful and embarrassed to hear the answer to this question.
It oughta be obvious!

More information about the Python-list mailing list