How about some syntactic sugar for " __name__ == '__main__' "?

John Ladasky john_ladasky at sbcglobal.net
Wed Nov 12 16:17:58 EST 2014


It appears that I'm not the first person to have thoughts along these lines.  Here's a relevant article:

http://aliles.tumblr.com/post/7455032885/sugar-for-pythons-main



More information about the Python-list mailing list