21 Apr
2007
21 Apr
'07
11:24 p.m.
On 4/21/07, Christian Heimes
If you like to introduce __main__ why not implement http://www.python.org/dev/peps/pep-0299 ? It proposes a __main__(*argv*) module level function that replaced the "if __name__ == '__main__'" idiom. The __main__ function follows the example of other programming languages like C, C# and Java.
Because I don't like the solution and thus didn't want to do the footwork for it. =) -Brett