creating a hex value

John Machin sjmachin at lexicon.net
Wed Jun 1 17:19:49 EDT 2005


Paul Rubin wrote:
> David Bear <david.bear at asu.edu> writes:
> 
>>I'm not seeing it in my python essential ref. how can I do
>>
>>delim = 0x15
> 
> 
> delim = chr(0x15)

Ooooh -- a function with a constant arg; I wonder what that evaluates to?

 >>> chr(0x15)
'\x15'

Sheeeesh.



More information about the Python-list mailing list