def decode(bytes_sequence, encodings):
    for encoding in encodings:
        try:
            decoded = bytes_sequence.decode(encoding)
            return decoded
        except UnicodeDecodeError:
            # Try the next in the list.
            pass
    raise DecodeError
Add options to the parser
dataset/ETHPy150Open pjdietz/rester-sublime-http-client/rester/http.py/decode--crossover with--dataset/ETHPy150Open gmr/rejected/rejected/controller.py/add_parser_arguments