Harrison Chudleigh <harrison.chudlei...@education.nsw.gov.au> writes: > Currently, the closest thing Python has to a 2D array is a dictionary > containing lists.
Tuples work fine: d = {} d[2,3] = 5 # etc... > Is this idea PEPable? I don't think it would get any traction. If you're doing something numerical that needs 2d arrays, numpy supports them. Actually, looking at your application, numpy might be what you want. -- https://mail.python.org/mailman/listinfo/python-list