Global array in python
clp2 at rebertia.com
Tue Sep 29 08:03:36 CEST 2009
On Mon, Sep 28, 2009 at 6:55 PM, rantingrick <rantingrick at gmail.com> wrote:
> On Sep 28, 8:04 pm, Chris Rebert <c... at rebertia.com> wrote:
>> On Mon, Sep 28, 2009 at 5:48 PM, Rudolf <yellowblueyel... at gmail.com> wrote:
>> > How can i declare a global array in python?
>> Python has no concept of declarations.
>> And it doesn't have arrays, it has dynamically-resizing lists.
> What version are you using, i must have py4000 alpha?
>>>> import array
>>>> a = array.array('i')
> array('i', )
> hmm? ;-)
I should have qualified that statement... :)
More information about the Python-list