Posted by Mamutti on Thu 8 Oct 03:13
report abuse | download | new post
- import csv
- class DialetoCSV(csv.Dialect):
- '''Define o dialeto usado nos arquivos CSV contendo os glossários seguindo
- a especificação RFC4180.'''
- delimiter = ','
- quotechar = '"'
- doublequote = True
- skipinitialspace = True
- lineterminator = '\r\n'
- quoting = csv.QUOTE_ALL
- csv.register_dialect('default', DialetoCSV)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.