[Baypiggies] One and two dim arrays in Python

David Elsen elsen.david08 at gmail.com
Tue Aug 26 01:49:34 CEST 2008

Hi all,

I would like to do something like following in Python:

for i in range(0,10):
     a[i] = something

just to initialize some values for 1d array.

I am getting the error message 'a' is not defined.

Is there a way to declare 1d or 2d arrays in Python?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20080825/eb51a280/attachment.htm>

More information about the Baypiggies mailing list