putting the output of a print statement into a string

Jon Perez jbperez808 at wahoo.com
Mon Mar 28 00:49:31 CEST 2005

Thanks, man!  That was one fast reply...

Marc 'BlackJack' Rintsch wrote:
> In <3aoq2kF6dov2dU1 at individual.net>, Jon Perez wrote:
>>Is there a way to somehow put the output of 'print exc_obj' into
>>a string?
> There are ways to do even that, but maybe ``str(exc_obj)`` is enough for
> your needs!?
> Ciao,
> 	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list