27 Feb
2002
27 Feb
'02
5:51 p.m.
Hi all, I (i am a newbie) have written a simple python script that queries a MS-SQL database and captues the result set into a list. I have called this sccipt in a dtml document and want to iterate through the list elements. When i do this- <dtml-in expr="Python_script()"> <li> <dtml-var text> </li> </dtml-in> where, "text" is the list that is returned by the python scirpt. It says - Error Type: KeyError Error Value: text My question is, how do i iterate through the list and obtain the values from the list. Thanking you in advance Madhavi Bagepalli