Two questions about Python..
John Roth
johnroth at ameritech.net
Mon Nov 19 19:48:15 EST 2001
"Ken" <khirmint at hotmail.com> wrote in message
news:3BF99E55.2C300858 at hotmail.com...
> I'm looking into using Python for a project, and was wondering how
does
> 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
I
> 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
system?
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