[GNC] tutorials or examples for connecting/programming for GnuCash data access

flywire flywire0 at gmail.com
Tue Jul 26 00:49:35 EDT 2022


TLDR: GnuCash Windows version is compiled on linux so, considering the
note below, you are unlikely to get python bindings working in
Windows.


> Important

> The Python extensions are an optional feature which creates additional dependencies. To be
> able to use Python scripts, GnuCash must have been built with the cmake -DWITH_PYTHON=ON …
> option enabled, otherwise all what follows won’t work. At present this option is not
> enabled by default, so if you need this, you may have to compile GnuCash from source
> yourself. But some distributions offer it also as a separate package with a name like
> python[version]-GnuCash


I'd happily be shown wrong about python bindings being easily
accessible under Windows.


Piecash is about the only alternative but iirc the demos are hidden in
the code repository. Try:
https://lists.gnucash.org/pipermail/gnucash-user/2021-July/097124.html


More information about the gnucash-user mailing list