strings in Python (newbie)
zif
zf_acs at hotmail.com
Wed Mar 12 09:10:10 EST 2003
Hi All,
What would be in Python an equivalent to the following C language
strings:
unsigned char Sconnection[56] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 };
unsigned char EstabSession[56] = {
8, 0, 1, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1, 0xc0,
0, 0, 0, 0, 0x10, 0x0e, 0, 0,
1, 1, 0x4f, 1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 };
Thanks,
zif
More information about the Python-list
mailing list