Skip to content

Instantly share code, notes, and snippets.

@Abizern
Created March 6, 2011 18:55
Show Gist options
  • Save Abizern/857540 to your computer and use it in GitHub Desktop.
Save Abizern/857540 to your computer and use it in GitHub Desktop.
Skeleton Python3 file template
#!/usr/bin/env python3 -tt
"""
Module documentation.
"""
# Imports
import sys
#import os
# Global variables
# Class declarations
# Function declarations
def main():
args = sys.argv[1:]
if not args:
print('usage: [--flags options] [inputs] ')
sys.exit(1)
# Main body
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment