>>>>> henry atting <[email protected]> 
>>>>> writes:

> Traceback (most recent call last):
>   File "scr.py", line 4, in <module>
>     for xact in ledger.read_journal("ledger.dat").xacts:
> AttributeError: 'module' object has no attribute 'read_journal'

Ah, try this instead:

    for xact in read_journal("ledger.dat").xacts:
        ...

The Python bridge is still evolving.

John

Reply via email to