Skip to content

Instantly share code, notes, and snippets.

@Jayasagar
Created December 18, 2017 12:40
Show Gist options
  • Save Jayasagar/59d79e87cdeb8d872f3c79c2286093fe to your computer and use it in GitHub Desktop.
Save Jayasagar/59d79e87cdeb8d872f3c79c2286093fe to your computer and use it in GitHub Desktop.
# import modules used here. sys is a very standard module
import sys
# Entry point to stand alone program i.e. main()
def main():
print('Hello World!')
# Call the main() to begin the execution
# This module can run directly with below code! Else it can used as a import in another module!
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment