Two questions about Python..

Richard Jones richard at bizarsoftware.com.au
Mon Nov 19 19:33:40 EST 2001


On Tuesday 20 November 2001 11:05, Ken wrote:
> I'm looking into using Python for a project, and was wondering how does
> Python rank up against other scripting languages for speed?

Very well.


> I assume its not as fast as something like C, which isn't an option as I
> need a
> scripting language.

You have the option of throwing in C extension modules for python, which 
aren't that hard to code, and do help speed things up considerably.

  http://www.python.org/doc/current/ext/ext.html


> Second question is, does Python have a robust exception handling system?
>
> Ie.. if a program loads a module and that module has a logic error in
> it,
> can the program recover? Or will it crash?

Absolutely.

  http://www.python.org/doc/current/tut/node10.html


    Richard




More information about the Python-list mailing list