Skip to content

Instantly share code, notes, and snippets.

@am1ru1
Forked from Abizern/Python3File.py
Created October 24, 2020 18:08
Show Gist options
  • Save am1ru1/3d06e70da0e8ed87e0a34344ea64288e to your computer and use it in GitHub Desktop.
Save am1ru1/3d06e70da0e8ed87e0a34344ea64288e 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