Hacker News new | past | comments | ask | show | jobs | submit login

> Python always executes the top level, so you end up with awkward idioms like: if __name__ == "__main__": main(sys.argv)*

And that's more "awkward" than the idea of a "public static void main" and a MANIFEST file because?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: