[wxPython] Is there a simple way to do a 2D and 3D Lookup table ?

Hi,

I am using Pythonwin(build 119), with wxPython (2.2.1) in MS Windows NT
platform.

I am trying to build some 2D and 3D Table lookup.
The Table can be "Dict" type or may be a file ?
If I use "Dict" then how should I manage the 3D table ?

What I have in mind is similar to the follwoing:

class TableLookUp:
    def 2D(self,TableName,X) :
  # What goes here ?
  # How ?
      return Y

    def 3D(self,TableName,X,Y) :
  # What goes here ?
  # How ?
      return Z

Any help will be appreciated.

Thanks.
Syed A. Nabi
snabi@visteon.com <mailto:snabi@visteon.com>
Embedded Control Software

···

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users