PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my settings
my profile
Public Pastes
What goes in betwe...
3 sec ago
Aasdasdbc Premium ...
6 sec ago
Add a python scrip...
9 sec ago
RAPIDSHARE YOUPORN...
1 min ago
Crashes in snow le...
16 sec ago
Djupkarta over Har...
16 sec ago
Untitled
16 sec ago
Facebook Hack
29 sec ago
Mamutti
By: a guest on Oct 7th, 2009 | syntax:
Python
| size: 0.35 KB | hits: 238 | expires: Never
download
|
raw
|
embed
|
report abuse
Copied
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 a
new version
of this paste
RAW Paste Data