def app(argv):
    'Execute in system shell\n    '
    if (len(argv) < 2):
        print(('Usage: python %s <command> <table> [<column1>=<value1> [...]]\n       <command>: print, insert, delete, or edit\n       <table>: barrier, shape, or josephson\n' % argv[0]))
        sys.exit(0)
    db = SVJJDBInteract()
    funcname = argv[1]
    table = argv[2]
    kwargs = args2kwargs(argv[3:])
    getattr(db, funcname)(table, **kwargs)
    db.close()
Execute in system shell
def app(argv):
    '\n    '
    if (len(argv) < 2):
        print(('Usage: python %s <command> <table> [<column1>=<value1> [...]]\n       <command>: print, insert, delete, or edit\n       <table>: barrier, shape, or josephson\n' % argv[0]))
        sys.exit(0)
    db = SVJJDBInteract()
    funcname = argv[1]
    table = argv[2]
    kwargs = args2kwargs(argv[3:])
    getattr(db, funcname)(table, **kwargs)
    db.close()