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 in the script
since the files are named article1.html,article2.html,etc.
Thanks for the help!


> --- Ursprüngliche Nachricht ---
> Von: Kent Johnson <[EMAIL PROTECTED]>
> An: unknown
> Kopie: [email protected]
> Betreff: Re: [Tutor] Extracting data from HTML files
> Datum: Thu, 29 Dec 2005 08:18:29 -0500

> I don't think you have to bother with finding the correct line numbers, 
> just read the entire HTML into one string and search it with a regex. 
> You don't say where the HTML is coming from, do you know how to read it?
> 
> If you have trouble come back and show us what you have done so far, 
> we'll help you with the next step.
> 
> Kent
> 
> _______________________________________________
> Tutor maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to