Skip to content

Instantly share code, notes, and snippets.

View davidelambert's full-sized avatar

David E. Lambert davidelambert

  • Greensboro, NC
View GitHub Profile
@amarao
amarao / blame-praise.py
Last active September 28, 2025 15:59
Example of argparse with subparsers for python
#!/usr/bin/env python
import argparse
def main(command_line=None):
parser = argparse.ArgumentParser('Blame Praise app')
parser.add_argument(
'--debug',
action='store_true',
help='Print debug info'
abandoned
able
absolute
adorable
adventurous
academic
acceptable
acclaimed
accomplished
accurate