How am I doing?

Brett Hoerner bretthoerner at gmail.com
Mon Sep 19 16:26:27 EDT 2005


Wouldn't the standard idiom be to actually put the code under the
if-name, and not make a whole new main() function?

I'm not sure I see the reason behind main(), couldn't that also
interfere with other modules since main() seems like it might be
common, not sure how it would work as I'm pretty new to Python myself.
 from script import * ... what happens when you have two main()s?




More information about the Python-list mailing list