#!/usr/bin/env python
# encoding: utf-8
FILENAME="3ePro.csv"
lgn_tpl = '
{nom} {prenom} '
with open(FILENAME,'r') as f:
for l in f.readlines():
nom, prenom = l.split(',')
prenom = prenom[:-1]
#print(nom)
#print(prenom)
id = prenom.lower()[0] + nom.lower()
#print(id)
print(lgn_tpl.format(id = id, nom = nom, prenom = prenom))
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
# cursor: 16 del