blob: d1e6cb1058e89e377c19605799ff1e72e2b8d3c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import sys
from ledger import *
parser = TextualParser ()
register_parser (parser)
journal = Journal ()
parse_journal_file (sys.argv[1], journal)
print journal[-1].payee
|