[Zope] convert python to dtml

Exteam exteam6@yahoo.co.in
Mon, 21 Jul 2003 07:16:55 +0100 (BST)


hi all,
i'm stuck at this point,
can some one convert thge following python code in to
dtml & help me.
i'm not able to convert it in to dtml.
--------------------------------

rec = context.test_select_sql()
print "Fields definitions"
recordset = rec.dictionaries()
rownum = 1
for record in recordset:
  print "Row %d" % (rownum), "check", record
  rownum = rownum + 1
for key in record.keys():
       print key, "=", record[key]
       print "-" * 80
return printed
---------------------------

plz help me
thanks
exteam

________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/