traversal of transactions in python

Sampsa Riikonen sampsa.lists at gmail.com
Mon Jan 23 04:29:23 EST 2012


Dear List,

I would highly appreaciate an example of how to traverse all the 
transactions in a gnucash book object

.. using python.

Is it possible?

An account object has methods such as "ForEachTransaction" and 
"StagedTransactionTraversal".

Testing for example

root.ForEachTransaction(1,2)

says that argument 1 should be of type "TransactionCallback" .. I have 
troubles
finding that even in the c code..


Regards,

Sampsa




More information about the gnucash-devel mailing list