Skip to content

Instantly share code, notes, and snippets.

@wisicn
Forked from Abizern/Python3File.py
Created June 18, 2019 15:49
Show Gist options
  • Save wisicn/80c9e49d4b600a745b4c287115d4391e to your computer and use it in GitHub Desktop.
Save wisicn/80c9e49d4b600a745b4c287115d4391e 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