472,145 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

Downloading multiple csv files from a website

I'd like to download data from the website
http://www.russell.com/Indexes/perfo..._values_US.asp. On
this web page, there are links to a number of .csv files, and I'd like
to download all of them automatically each day. The file names are not
visible on the page, but if I click on a link, a csv file opens in
Excel. I've searched this group and looked into urllib, but have not
found functions or code snippets that will allow me to download and
rename each file. Would someone kindly point me to appropriate
libraries/functions and/or code snippets that will get me started?

Thanks in advance

Thomas Philips

Aug 17 '07 #1
2 5448
On Aug 17, 8:08 am, tkp...@hotmail.com wrote:
I'd like to download data from the websitehttp://www.russell.com/Indexes/performance/daily_values_US.asp. On
this web page, there are links to a number of .csv files, and I'd like
to download all of them automatically each day. The file names are not
visible on the page, but if I click on a link, a csv file opens in
Excel. I've searched this group and looked into urllib, but have not
found functions or code snippets that will allow me to download and
rename each file. Would someone kindly point me to appropriate
libraries/functions and/or code snippets that will get me started?

Thanks in advance

Thomas Philips
This link shows how to extract a list of URLs:
http://www.java2s.com/Code/Python/Ne...inawebpage.htm

and this one shows how to download:

http://aspn.activestate.com/ASPN/Coo...n/Recipe/83208

Mike

Aug 17 '07 #2
Our systems administrator suggested that I try wget, a GNU utility
that is designed to pick up data. It might prove to be the easiest way
to get the data I want, and I am going to try that first.

Thanks again.

Thomas Philips
Aug 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by sales | last post: by
2 posts views Thread by Gopal | last post: by
reply views Thread by just.starting | last post: by
4 posts views Thread by yehaimanish | last post: by
1 post views Thread by Maury | last post: by
3 posts views Thread by fatima.issawi | last post: by
2 posts views Thread by Ed Jay | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.