Possible PEP - two dimensional arrays?

Michael Torrie torriem at gmail.com
Wed Jun 8 14:59:04 EDT 2016


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.


More information about the Python-list mailing list