Python Help ...
Roger Oberholtzer
roger
Thu Mar 29 07:11:18 PDT 2007
On Thu, 2007-03-29 at 08:45 -0500, Ben Duncan wrote:
> What I am trying to do is to create something that, at best
> description, resembles a "spreadsheet" type memory array, where
> a character occupies one cell. It also needs to be n-dimensional,
> much like a spreadsheet can have multiple pages and I need to
> initialize it first to spaces, or some fill characters. It needs
> to be total modifiable with placement of character or strings.
>
> So far, there is really nothing in Python, that I can see that is
> up to the task, so I am working on a C module called chararray to
> do the job.
Maybe python, via tk, can use tktable? It is on sourceforge. Each cell
in tktable can be filled with anything, including another table. Mapping
it to a C data structure is straight forward. The table can be sparse in
that unused cells be not be linked to any data. If it works with python
is another matter.
--
Roger Oberholtzer
OPQ Systems / Ramb?ll RST
Ramb?ll Sverige AB
Kapellgr?nd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden
Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23
More information about the Linux-users
mailing list