[wxPython-users] few grid customization questions
Christopher Barker
Chris.Barker at noaa.gov
Thu Sep 7 09:15:24 PDT 2006
Jason Wang wrote:
> the data for sudoku is organized as row:
> alphabets, cols: numbers, the data is in dictionary,
You should look into using numpy arrays to store the data.
Numpy supports 2-d array, with 2-d slicing, and slicing as view behavior
that would make the kinds of manipulations you need to do for Sudoku
much easier.
http://numpy.scipy.org/
It's not just for Scientific computing...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list