does python could support sequence of short or int?

momobear wgwigw at
Thu Mar 30 09:16:49 CEST 2006

hi, is there a way to let python operate on sequence of int or short?
In C, we just need declare a point, then I could get the point value,
just like:
short* k = buffer, //k is a point to a sequence point of short.
short i = *k++,
but python is a dynamic language,
a = buffer
i = ? I don't know how to continue, what's a? a seems to be a str?

More information about the Python-list mailing list