pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

icaju private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Mamutti on Thu 8 Oct 03:13
report abuse | download | new post

  1. import csv
  2.  
  3. class DialetoCSV(csv.Dialect):
  4.     '''Define o dialeto usado nos arquivos CSV contendo os glossários seguindo
  5.    a especificação RFC4180.'''
  6.     delimiter = ','
  7.     quotechar = '"'
  8.     doublequote = True
  9.     skipinitialspace = True
  10.     lineterminator = '\r\n'
  11.     quoting = csv.QUOTE_ALL
  12.  
  13. 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.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post