char string 2 hex string

Antonio Chay antonio.chay at gmail.com
Fri Feb 1 10:11:54 EST 2008


On Jan 31, 7:09 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Antonio Chay <antonio.c... at gmail.com> writes:
> > "AAA" should be "414141"
>
> 'AAA'.encode('hex')

8-O
Cool stuff!
Thanks!



More information about the Python-list mailing list