Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #109686

Re: Possible PEP - two dimensional arrays?

From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: Possible PEP - two dimensional arrays?
Date 2016-06-08 12:59 -0600
Message-ID <mailman.83.1465412349.2306.python-list@python.org> (permalink)
References <CACMigy1yXKuX0HCyAcE7MrWdC5DJhOMVtnxbcLVkU_Qw4MZsYg@mail.gmail.com> <ce85e0db-071d-5a03-62a7-4bd38d150b11@gmail.com>

Show all headers | View raw


On 06/07/2016 06:17 PM, Harrison Chudleigh wrote:
> I was programming a computer game and found that while 1D arrays can be
> created using the module array, there is no module for two-dimensional
> arrays, unlike languages like C. Currently, the closest thing Python has to
> a 2D array is a dictionary containing lists.

I think you meant to say a list of lists.  Which is actually analogous
to how C implements them.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Possible PEP - two dimensional arrays? Michael Torrie <torriem@gmail.com> - 2016-06-08 12:59 -0600

csiph-web