summaryrefslogtreecommitdiff
path: root/test/regress/xact_code.py
blob: 19664df22a351999cb34213ab4f1ec3a6d22362f (plain)
1
2
3
4
import ledger

for post in ledger.read_journal('test/regress/xact_code.dat').query('expenses'):
  print(post.xact.code)