Hi,

On Thu, Jun 4, 2009 at 11:31 PM, olaf <[email protected]> wrote:

>
> Hello,
>
> I would like to experiment with the python bindings of ledger 3.0
> (latest version of master branch on github).
>
> Compilation went ok, make check worked with all tests passing.
> When I issued make install it installed the compiled files in /usr/
> local



I succeeded to compile the shared library. Turns out acprep does not pass
--enable-shared to configure on my system (Debian unstable).
Doing an autgen.sh, ./configure and make manually  worked. And I had to
remove the python examples from site-packages.

Now I'm trying to create a transaction from python. But can't figure out how
to do that, I've read the doxygen generated docs. I'm able to create an
instance of class Amount, but not for Post or Journal. Is that possible? Or
is it only intended to read ledger data files from python and generate
custom reports?

Can someone publish an example how to read in a ledger data file from
python?
So I can play around a bit and see how it is represented as python objects.

Thanks,
 -Olaf

Reply via email to