Hi all,

I'm trying to create some Python wrapper to work with my ledger files. I
see that there's the Extending with Python
<https://ledger-cli.org/doc/ledger3.html#Extending-with-Python>; but I
don't know from what package I should import ledger. I looked through PyPi and…
doesn't seem like any package there points to a ledger-cli extension. I
also tried running the python/demo.py in the repository. This rightly fails
to import ledger as well

$ python demo.py   # with [email protected]
Traceback (most recent call last):
  File "/Users/igbanam/projects/igbanam/ledger/python/demo.py", line 10, in
<module>
    import ledger
ModuleNotFoundError: No module named 'ledger'

Please help point me in the right direction.

Thank you


*Igbanam*

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/ledger-cli/CAOmRJrdo808Qggmvgekb0xn7JixR-4BfXukaCTN44p-Oo%2B-AEA%40mail.gmail.com.

Reply via email to