Re: declaring Hex in python

2005-11-03 Thread David Wahler
[EMAIL PROTECTED] wrote: > I want to use some old C code such as > #define GEN_STREAMTYPE_NULL 0x51 > I need to send this to a server, but it must be declared as a unsigned > four byte constant. I can not just send a string. I love python, but > am looking for information where I

declaring Hex in python

2005-11-03 Thread PythonAnimal
I want to use some old C code such as #define GEN_STREAMTYPE_NULL 0x51 I need to send this to a server, but it must be declared as a unsigned four byte constant. I can not just send a string. I love python, but am looking for information where I can declare this and then send it