import csv
villains = [
    {'first': 'Doctor', 'last': 'No'},
    {'first': 'Rosa', 'last': 'Klebb'},
    {'first': 'Mister', 'last': 'Big'},
    {'first': 'Auric', 'last': 'Goldfinger'},
    {'first': 'Ernst', 'last': 'Blofeld'},
    ]
with open('villains', 'wt') as fout:
    cout = csv.DictWriter(fout, ['first', 'last'])
    cout.writeheader()
    cout.writerows(villains)

ef02737ee5285ed16e08ac3c98e08c389dce9fe1
<mask token>

<mask token>
with open('villains', 'wt') as fout:
    cout = csv.DictWriter(fout, ['first', 'last'])
    cout.writeheader()
    cout.writerows(villains)

<mask token>
villains = [{'first': 'Doctor', 'last': 'No'}, {'first': 'Rosa', 'last':
    'Klebb'}, {'first': 'Mister', 'last': 'Big'}, {'first': 'Auric', 'last':
    'Goldfinger'}, {'first': 'Ernst', 'last': 'Blofeld'}]
with open('villains', 'wt') as fout:
    cout = csv.DictWriter(fout, ['first', 'last'])
    cout.writeheader()
    cout.writerows(villains)

import csv
villains = [{'first': 'Doctor', 'last': 'No'}, {'first': 'Rosa', 'last':
    'Klebb'}, {'first': 'Mister', 'last': 'Big'}, {'first': 'Auric', 'last':
    'Goldfinger'}, {'first': 'Ernst', 'last': 'Blofeld'}]
with open('villains', 'wt') as fout:
    cout = csv.DictWriter(fout, ['first', 'last'])
    cout.writeheader()
    cout.writerows(villains)

import csv
villains = [
    {'first': 'Doctor', 'last': 'No'},
    {'first': 'Rosa', 'last': 'Klebb'},
    {'first': 'Mister', 'last': 'Big'},
    {'first': 'Auric', 'last': 'Goldfinger'},
    {'first': 'Ernst', 'last': 'Blofeld'},
    ]
with open('villains', 'wt') as fout:
    cout = csv.DictWriter(fout, ['first', 'last'])
    cout.writeheader()
    cout.writerows(villains)
