Two questions about Python..

John Roth johnroth at
Tue Nov 20 01:48:15 CET 2001

"Ken" <khirmint at> wrote in message
news:3BF99E55.2C300858 at
> I'm looking into using Python for a project, and was wondering how
> Python rank up against other scripting languages for speed?
> I assume its not as fast as something like C, which isn't an option as
> need a scripting language.

All the comparisons I've seen say there's not much difference between
Python and Perl.

> Second question is, does Python have a robust exception handling

Same try, except construct as every other o-o language with structured
exception handling. Exact syntax may vary.

> Ie.. if a program loads a module and that module has a logic error in
> it, can the program recover? Or will it crash?

If you put a try/except block around it, yes.

John Roth

More information about the Python-list mailing list