On 23/10/11 05:09, Henry wrote:

Please delete irrelevant material from your messages.
In particular do not send the entire digest content to the list.

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.

Look at the urllib and urllib2 modules in the standard library.
They allow you to treat a url like a file (almost)

HTH

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to