Q: Catching any exception an printing it

Moshe Zadka moshez at math.huji.ac.il
Tue Feb 22 07:30:38 CET 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