How to represent a sequence of raw bytes

Steven Woody narkewoody at gmail.com
Mon Dec 22 03:23:03 CET 2008


Hi,

What's the right type to represent a sequence of raw bytes.  In C, we usually do

1.  char buf[200]  or
2.  char buf[] = {0x11, 0x22, 0x33, ... }

What's the equivalent representation for above in Python?

Thanks.

-
narke



More information about the Python-list mailing list