[Zope] Convert Help

Matthew T. Kromer matt@zope.com
Tue, 26 Feb 2002 12:37:54 -0500


Todd Loomis wrote:

> AJ
>
> Well then how do I convert a list into separate strings
>
> Todd


I think we're having difficulty establishing the context of your 
question, since [ 'a', 'b', 'c' ] IS a list of strings.  So, there isnt 
any conversion involved.

If, in Python I had the following

    list = [ 'one', 'two', 'three']

I could print out each element as such:

    for e in list: print e

and out would print

    one
    two
    three

So what I am thinking is that you would be well served visiting the 
python tutorial at www.python.org to get details about the grammar 
operators.

-- 
Matt Kromer
Zope Corporation  http://www.zope.com/