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