def test(): import hlutils print hlutils.bytes_to_str(randbytes(10))
def main(): ns = parse_cmdline() for b in ns.bytes: print(hlutils.bytes_to_str(b.encode('mbcs', 'replace'), ns.lower, ns.prefix, ns.suffix, ns.separator))
def main(): ns = parse_cmdline() for b in ns.bytes: print hlutils.bytes_to_str(b, ns.lower, ns.prefix, ns.suffix, ns.separator)