Re: ledger python module documentation
On Tue, Oct 5, 2021 at 6:55 PM lipp f wrote: > I have seen python/demo.py in the distribution but I am looking for > somethin more detaled. Like a standard python module documentation. > > Is it available anywhere? TIA. > > > Went looking at the code - - - - IANAP but I like the commenting! There would seem to be enough comments to make understanding what's going on fairly straightforward. What benefit does running this module give? Regards -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CAPpdf58VDQkZi4TNSL12TrjQVg1LcXJttkx5rsUPw4Q1kJb%3DVg%40mail.gmail.com.
Re: ledger python module documentation
>>>>> "MM" == Martin Michlmayr writes: >> I have seen python/demo.py in the distribution but I am looking for >> somethin more detaled. Like a standard python module documentation. >> >> Is it available anywhere? TIA. MM> Unfortunately not. There's just the code, in the py*.cc modules, from which you can determine which types and methods are available. John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/m27derlyqw.fsf%40newartisans.com.
Re: ledger python module documentation
Actually the module itself has pretty good documentation. $ python >>> import ledger >>> help(ledger) ... and everithing is there. On Tuesday, October 5, 2021 at 7:55:13 PM UTC-4 lipp f wrote: > I have seen python/demo.py in the distribution but I am looking for > somethin more detaled. Like a standard python module documentation. > > Is it available anywhere? TIA. -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/c117d294-47c3-40b3-8a26-625a0368dfd9n%40googlegroups.com.
Re: ledger python module documentation
* lipp f [2021-10-05 16:55]: > I have seen python/demo.py in the distribution but I am looking for > somethin more detaled. Like a standard python module documentation. > > Is it available anywhere? TIA. Unfortunately not. -- Martin Michlmayr https://www.cyrius.com/ -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/YVzmURU3UHLhbrNW%40jirafa.cyrius.com.
ledger python module documentation
I have seen python/demo.py in the distribution but I am looking for somethin more detaled. Like a standard python module documentation. Is it available anywhere? TIA. -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/69a28586-c75c-4002-913d-1c8a4cf54d69n%40googlegroups.com.
Re: Python module
Hello Paulo, when ledger is compiled with Python support (add -DUSE_PYTHON=ON when running cmake) a binary Python module (ledger.so on unix systems) is created. When you place this file somewhere, so it is found by the Python runtime (e.g. with PYTHONPATH) you can `import ledger`. Best Alexis -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Python module
Hello, The python/demo.py includes an `import ledger` however I can't find this ledger.py module anywhere in the source. Where is it? Kind regards, Paulo Matos -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.