Note, web2py can be used to parse HTML into web2py HTML helpers via TAG(), and then the tags can be removed via the flatten() method -- see http://web2py.com/book/default/chapter/05#Parsing and http://web2py.com/book/default/chapter/05#flatten.
On Monday, April 11, 2011 2:38:22 AM UTC-4, Kenneth wrote: > Hello list, > > instead on paying the bank to get a bankaccount abstract in a machine > readable format I thought I�d write a small application that imports a > HTML page (the source of a page viewing all that has happened on the > bankaccount), parses the file and write all happenings into a database. > > I know how to import CSV files, but how do I import a textfile and parse > all lines. I don�t want to all <HTML>, <BODY> and rest of tags in my > source page to be used, I just want to parse the whole file line by line. > > > Kenneth > >

