devi cambiare il nome del file.
csv.py non va bene.
Chiamalo importa_csv.py o quello che vuoi.
Se lo chiami come il modulo che importi con "import csv" python va in
confusione, perchè il nome del tuo file andrà a sovrascrivere i metodi del
modulo da te richiamato.
Ciao f
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a