Created
April 28, 2016 12:28
-
-
Save alfredo/d14baa19f0f1f94b27a6218cf815cd50 to your computer and use it in GitHub Desktop.
script pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
def do_something_complicated(): | |
print "Done!" | |
if __name__ == "__main__": | |
do_something_complicated() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment