Q: Catching any exception an printing it

Moshe Zadka moshez at math.huji.ac.il
Tue Feb 22 01:30:38 EST 2000


On Mon, 21 Feb 2000, Stuart Reynolds wrote:

> but is it possible to print out the exception if you don't know what
> type it is? 

See the documentation of the sys module, particularily the
exc_info() function
--
Moshe Zadka <mzadka at geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.





More information about the Python-list mailing list