Getting hex value of a character
Dennis Reinhardt
DennisR at dair.com
Thu Dec 12 13:19:24 EST 2002
More information about the Python-list mailing list
Thu Dec 12 13:19:24 EST 2002
- Previous message (by thread): Getting hex value of a character
- Next message (by thread): Getting hex value of a character
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> ''.join(['%X' % ord(c) for c in 'AB']) Thanks. Very readable. -- Dennis Reinhardt http://www.dair.com
- Previous message (by thread): Getting hex value of a character
- Next message (by thread): Getting hex value of a character
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list