The encodings.hex_codec Module

(New in 2.2) HEX codec.

encoded_data = data.encode("hex")
decoded_data = encoded_data.decode("hex")
 

A Django site. rendered by a django application. hosted by webfaction.