Skip to content

Instantly share code, notes, and snippets.

@omsobliga
Last active November 16, 2017 10:54
Show Gist options
  • Save omsobliga/d682557081d0835ec6040cd617516a4f to your computer and use it in GitHub Desktop.
Save omsobliga/d682557081d0835ec6040cd617516a4f to your computer and use it in GitHub Desktop.
import csv
file_ = open('file.csv', 'r')
reader = csv.reader(file_, delimiter=',',
quotechar='|', quoting=csv.QUOTE_MINIMAL)
file_ = open('file.csv', 'aw')
writer = csv.writer(file_, delimiter=',',
quotechar='|', quoting=csv.QUOTE_MINIMAL)
file_.flush()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment