How can can I print comments e.g. "MD5Sum: 4d296..." in python?

The *working* bash equivalent is ` ledger -f file.dat csv --csv-format 
"%(join(note | xact.note))"`

Tried this snippet so far:

```python
import ledger

for xact in ledger.read_journal("file.dat").xacts():
    for post in xact.posts():
        print(post.date, post.amount, post.account)
        # print(post.note) # Returns None
        # print(post.__dict__) # Attempting to print all key:values...returns 
empty
```

-- 

--- 
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 on the web visit 
https://groups.google.com/d/msgid/ledger-cli/878s3k5vtu.fsf%40notebox.ch.

Reply via email to