[Zope] Convert Help

Todd Loomis tloomis@dmso.mil
Tue, 26 Feb 2002 13:21:53 -0500


Matt:

I need to make separate SQL statements with each element in the list, how 
do I do this?

Todd

At 12:37 PM 2/26/2002 -0500, you wrote:
>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/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Todd Loomis
SAIC - DMSO Support
1901 N. Beauregard Street, Suite 500
Alexandria, VA 22311
Office: 703.824.3407 Fax: 703.379.3778
tloomis@dmso.mil