import sys sys.path.append('../..') import stringtools data = b'message' print(stringtools.hexlify(data)) print(stringtools.hexlify(stringtools.csp.build_frame(data)))