Mark wrote:
John, it's a QuerySet coming from a database in Django. I don't know
enough about the structure of this object to go into detail I'm
afraid.

Aidan, I got an error trying your suggestion: 'zip argument #2 must
support iteration', I don't know what this means!

well, if we can create 2 iterable sequences one which contains the user the other the scores, it should work

the error means that the second argument to the zip function was not an iterable, such as a list tuple or string

can you show me the lines you're using to retrieve the data sets from the database? then i might be able to tell you how to build the 2 lists you need.

Thanks to all who have answered! Sorry I'm not being very specific!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to