Re: retrieving data from list of dictionaries

2011-09-25 Thread Shawn Milochik
This is a Python question. Please subscribe to this list: http://mail.python.org/mailman/listinfo/python-list Look up the built-in command "zip" and the keys method of dict to solve your issue. Shawn -- You received this message because you are subscribed to the Google Groups "Django users"

retrieving data from list of dictionaries

2011-09-25 Thread sakthi
Hi all. i have a list of dictionaries d=[{'name':'ram','age':'23','place':'chennai'},{'name':'sakthi','age': 20','palce':pune'}] i want to display the name and palce of the two dict in a table. i tried for long but couldn't get. please suggest me how to use the for loop in the html file and