예제 #1
0
def test():
    import hlutils
    print hlutils.bytes_to_str(randbytes(10))
예제 #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))
예제 #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)