"Jim Morcombe" <[EMAIL PROTECTED]> wrote
The code I sent before had a silly mistake in it. Here is a better
example of the things I am trying and failing at.
Look at what you are doing in the two examples....
# This next bit also works and I can see the value of the variable
print "<B>JQuiz_q01_score = ", data["JQuiz_q01_score"].value
# However, whenever I try to iterate over all the keys, I get the
print "<BR>"data[k].key
Can you see what you are doing differently whwen accessing
the data?
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor