#!/usr/bin/python
from time import strptime, strftime
from datetime import date
import datepyth
from datepyth import Money, RepeatEntry, FractionalEntry, SingleEntry
from datepyth import weekly, monthly, yearly
from decimal import Decimal
# parse_lines :: [Entry] -> (String)
def parse_lines (getline):
database = []
for line in getline:
if len(line.strip()) != 0:
database.append(parse(line))
return database
Testing Python Code
Friday, 5 June 2009
Just a quick test that parsing python works...
Subscribe to:
Post Comments (Atom)
0 comments
Post a Comment