Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
A GnuCash ledger book (the contents of a GnuCash save file).

src/c/a/cashflow-1.0/src/cashflow/__init__.py   cashflow(Download)
"""Cash flow analysis for GnuCash accounts."""
 
import gzip
import xml.etree.cElementTree as ET
from cashflow.book import Book
 
def open(path):
    """Open a GnuCash file and return a Book object that manages it."""
    tree = ET.parse(gzip.open(path))
    return Book(tree)