pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Test
19 sec ago
Untitled
5 sec ago
Untitled
11 sec ago
AA
23 sec ago
Untitled
18 sec ago
Theme3-Demure
23 sec ago
Untitled
Lua | 18 sec ago
rc.local
18 sec ago
Layout Width
Share Pastebin
Mamutti
By: a guest | Oct 7th, 2009 | Syntax:
Python
| Size: 0.35 KB | Hits: 236 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
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
)
create new paste
|
create new version of this paste
RAW Paste Data