How can I get the list of Contact objects from the Groups object list returned by contacts.open().groups?

I have code as such:

Code:
db = contacts.open()
groups = db.groups
for i in groups:
    print groups[i].name
And now I want to print out the name (and number) of each contact within the group.

Thank you