bin/workshops.py
def fail(template, *args):
    '''Format and print error message, then exit.'''
    msg = template.format(*args)
    print(msg, file=sys.stderr)
    sys.exit(1)
Format and print error message, then exit.
Format and print error message, then exit.
Format and print error message then exit .
def fail(template, *args):
    msg = template.format(*args)
    print(msg, file=sys.stderr)
    sys.exit(1)
def fail ( template , * args ) : msg = template . format ( * args ) print ( msg , file = sys . stderr ) sys . exit ( 1 )
Format and print error message, then exit.
Format and print error message then exit .
'''Format and print error message, then exit.'''
template