[Tutor] Praser

Lie Ryan lie.1296 at gmail.com
Sun Oct 23 18:25:36 CEST 2011


On 10/23/2011 03:09 PM, Henry wrote:
> Hi Steven,
>
> First of all, I want to able to download the data from the web into
> the database. Here is the part of the link:
>
> http://boc.quotepower.com/web/bochk/stocks_mktTransactions.jsp?lang=en&domain=NCBHK&rand=-74344993&lastLevel1Name=nav_stocks&lastStock=5
>
> I hope I can use the download data to do some analysis.

Python comes with two HTML parser: htmllib and HTMLParser. If the HTML 
is also a valid XML, you might want to treat it as an XML instead, 
Python comes with the xml module.



More information about the Tutor mailing list