[Tutor] The better Python approach

Alan Gauld alan.gauld at btinternet.com
Wed Jan 21 15:44:18 CET 2009

"Robert Berman" <bermanrl at cfl.rr.com> wrote

> Perhaps i should not have said the most Python correct.
> It looks as if it may well be the approach using the least
> amount of work the interpreter must complete.

That's generally true. Python can always do things the long way but 
generally more efficient both in programmer time and performance
speed to use the built-in functions/methods as much as possible.
Most of them are written in C after all!

Alan G 

More information about the Tutor mailing list