How about some syntactic sugar for " __name__ == '__main__' "?
rosuav at gmail.com
Thu Nov 13 14:40:14 CET 2014
On Fri, Nov 14, 2014 at 12:33 AM, Roy Smith <roy at panix.com> wrote:
> ... you also get to not worry
> about what order things are defined.
That's only as regards the interpreter, though. My point has nothing
to do with the order the interpreter sees things, it's all about how
they're laid out for humans to read. For that, I prefer to have
definitions before use.
More information about the Python-list