[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> chachi:
> > I want to know how to instantiate a data structure which has n bytes
> > (given by me) and is internally stored in a contiguous fashion.
>
> array.array("B", ...) may be fit for you. You can also use a numpy
> array of bytes.
The mmap
On Nov 13, 6:40 pm, [EMAIL PROTECTED] wrote:
> chachi:
>
> > I want to know how to instantiate a data structure which has n bytes
> > (given by me) and is internally stored in a contiguous fashion.
>
> array.array("B", ...) may be fit for you. You can also use a numpy
> array of bytes.
>
> Bye,
> b
chachi:
> I want to know how to instantiate a data structure which has n bytes
> (given by me) and is internally stored in a contiguous fashion.
array.array("B", ...) may be fit for you. You can also use a numpy
array of bytes.
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-lis
Hi,
I want to know how to instantiate a data structure which has n bytes
(given by me) and is internally stored in a contiguous fashion. I know
list is not implemented like this, so I am in a fix. There seems to be
a buffer object available, but haven't seen it being used anywhere.
Does anyone kno