Exemplo n.º 1
0
def test():
    import hlutils
    print hlutils.bytes_to_str(randbytes(10))
Exemplo n.º 2
0
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))
Exemplo n.º 3
0
def main():
    ns = parse_cmdline()
    for b in ns.bytes:
        print hlutils.bytes_to_str(b, ns.lower, ns.prefix, ns.suffix, ns.separator)