Skip to content

Instantly share code, notes, and snippets.

View erpreciso's full-sized avatar

erpreciso

View GitHub Profile

Keybase proof

I hereby claim:

  • I am erpreciso on github.
  • I am stefano_merlo (https://keybase.io/stefano_merlo) on keybase.
  • I have a public key ASCHcdwgyxD6RhWIn_6aO0pOx8nkW_hpYrG7l8iMcKnIJgo

To claim this, I am signing this object:

@erpreciso
erpreciso / gcash2ledger.py
Created July 31, 2019 08:28 — forked from nonducor/gcash2ledger.py
A simple script to convert an (uncompressed) gnucash XML file to the ledger-cli format
#! /usr/bin/python3
import os
import sys
import dateutil.parser
import xml.etree.ElementTree
nss = {'gnc': 'http://www.gnucash.org/XML/gnc',
'act': 'http://www.gnucash.org/XML/act',
'book': 'http://www.gnucash.org/XML/book',