stringtools/_examples_/hexlify.py

7 lines
182 B
Python

import sys # nopep8
sys.path.append('../..') # nopep8
import stringtools
print(stringtools.hexlify(b'A stringexample with non printable characters like \x12'))