Re: [Tutor] Extracting data from HTML files

2005-12-29 Thread motorolaguy
The HTML comes from a bunch of files which are saved in my computer.They were generated by a php script and I want to extract certain fields for insertion in to a MySQL db. I`m trying to get the hang of correctly opening the files first :) There are about a thousand of them so I have to use a loop

Re: [Tutor] Extracting data from HTML files

2005-12-28 Thread motorolaguy
Hello, I was taking a look at BeautifulSoup as recommended by bob and from what I can tell it`s just what I`m looking for but it`s a bit over my current skills with python I`m afraid.I`ll still keep playing with it and see what I can come up with. I`ll also take a look at regexes as recommended by

[Tutor] Extracting data from HTML files

2005-12-28 Thread motorolaguy
Hello, I`m very new to Python and programming in general.I`ve been reading Dive in to Python as an introduction to the language and I think I`m doing pretty well,but I`m stuck on this problem. I`m trying to make a python script for extracting certain data from HTML files.These files are from a temp