(msg)
Writes `msg` to `stderr`, displays usage
    information, and exits.
Writes `msg` to `stderr`, displays usage
    information, and exits.
Writes msg to stderr displays usage information and exits .
def error(msg):
    """
    Writes `msg` to `stderr`, displays usage
    information, and exits.
    """
    print('\nERROR: %s\n' % msg)
    usage()
def error ( msg ) : print ( '\nERROR: %s\n' % msg ) usage ( )