Dump binary data to hex format and restore from there. WWW: https://pypi.python.org/pypi/hexdump