Q: string array (newbie)

Alex not_such_a_brain_after_all at mit.edu
Mon Oct 30 14:59:41 EST 2000


> Is there a better way to represent such data than by using a list of
> strings (1) or list of lists (2)? What if such string array will be
> read from a web form by a CGI script (POST)? Thanks a lot for your
> help

It's simple enough to convert between the two representations using the
.split and .join string methods, so choose your favourite
representation, and switch when needed.

Alex.

-- 
Speak softly but carry a big carrot.




More information about the Python-list mailing list