scripts/fetch_name_gender.py
author nishanth
Fri, 03 Sep 2010 16:31:22 +0530
branchanoop
changeset 244 f0d2036b6613
parent 204 a190811581a8
permissions -rw-r--r--
moved template to correct place

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()