The encodings.hex_codec Module

(New in 2.2) HEX codec.

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

[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.01s 2010-03-18 07:23:41.631850. hosted by webfaction.