diff options
author | John Wiegley <johnw@newartisans.com> | 2010-02-05 05:35:14 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-02-05 05:35:14 -0500 |
commit | 547137096051ab985dca6f8e5c7be191b62ccb0c (patch) | |
tree | 2f3a39c4b71b8cb8b232502401e8dd2c8c2247ef /doc/Ledger.scriv/222.rtfd/TXT.rtf | |
parent | c6873d32aa121289e87be7eb16ff531c6d468d2a (diff) | |
parent | 69da18cd303b10f9badd542141ffdfd546009508 (diff) | |
download | fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.gz fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.bz2 fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.zip |
Merge branch 'next'
Diffstat (limited to 'doc/Ledger.scriv/222.rtfd/TXT.rtf')
-rw-r--r-- | doc/Ledger.scriv/222.rtfd/TXT.rtf | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/doc/Ledger.scriv/222.rtfd/TXT.rtf b/doc/Ledger.scriv/222.rtfd/TXT.rtf deleted file mode 100644 index 0e814392..00000000 --- a/doc/Ledger.scriv/222.rtfd/TXT.rtf +++ /dev/null @@ -1,20 +0,0 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1038 -{\fonttbl\f0\fmodern\fcharset0 Courier;} -{\colortbl;\red255\green255\blue255;} -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl264\slmult1\ql\qnatural\pardirnatural - -\f0\fs28 \cf0 from ledger import *\ -\ -session.read_journal("doc/sample.dat")\ -\ -new_session = Session()\ -\ -set_session_context(new_session)\ -session.read_journal("doc/sample.dat")\ -set_session_content(session) # restore the default session\ -\ -for txn in session.journal.transactions:\ - print txn.payee\ -\ - for p in txn.postings:\ - print p.account, "->", p.amount}
\ No newline at end of file |