scripts/fetch_name_gender.py
author anoop
Sat, 07 Aug 2010 13:45:34 +0530
branchanoop
changeset 224 daa76f68f4fc
parent 204 a190811581a8
permissions -rw-r--r--
updated venue.

from sdi.models import ParticipantInfo

f = open('names.txt', 'w')
for participant in participants:
    f.write('%s %s, %s\n' % (participant.participant.first_name, participant.participant.last_name, participant.participant.gender))

f.close()