stringtools/_examples_/hexlify.py

7 lines
144 B
Python

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