Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Open a GnuCash file and return a Book object that manages it.

        def open(path):
    """Open a GnuCash file and return a Book object that manages it."""
    tree = ET.parse(gzip.open(path))
    return Book(tree)
        


src/c/a/cashflow-1.0/src/cashflow/command.py   cashflow(Download)
from optparse import OptionParser
 
from cashflow import open as cashflow_open
from cashflow.format import display
from cashflow.reports import cashflow
 
    try:
        book = cashflow_open(args[0])
    except IOError, e:
        sys.stderr.write("cashflow: cannot open file %r: %s\n"