On 9/19/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > I totally fail to see why that should be the case - for python as well as > for C.
If you put your code into a main() function, all the names that it binds are in the function's local scope, whereas if the code is in the module's top level, the names are bound to the module's global scope. Access to locals is somewhat faster than access to globals. -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list