Python - string to hexbytes conversion - HELP!

Emile van Sebille emile at fenx.com
Fri Dec 7 03:22:26 CET 2001


"Hans Nowak" <wurmy at earthlink.net> wrote in message
news:3C102153.52B16049 at earthlink.net...
> Carsten Gaebler wrote:
>
> > >>> import binascii
> > >>> binascii.unhexlify("01234567")
> > '\x01#Eg'
>
> <clueless>
> OK, this one has been puzzling me for a while... why are the
> functions in binascii called 'hexlify' and 'unhexlify'? Why
> not 'hexify'? Where does the L come from?
> </clueless>
>
> --Hans


Looks like an emacs thing...

Blindlifiing-ly y'rs

--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list