Skip to content

Instantly share code, notes, and snippets.

im-alexandre

  • Marinha do Brasil
  • Rio de Janeiro
Block or report user

Report or block im-alexandre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@im-alexandre
im-alexandre / ofx2csv.py
Created Jan 2, 2020 — forked from whistler/ofx2csv.py
Convert QFX/OFX to CSV
View ofx2csv.py
from csv import DictWriter
from glob import glob
from ofxparse import OfxParser
DATE_FORMAT = "%m/%d/%Y"
def write_csv(statement, out_file):
print "Writing: " + out_file
fields = ['date', 'payee', 'debit', 'credit', 'balance']
with open(out_file, 'w') as f:
You can’t perform that action at this time.