[Tutor] Pyton and Webpages
Kent Johnson
kent37 at tds.net
Mon May 1 17:37:43 CEST 2006
Jon Whitehouse wrote:
> Greetings All,
>
> I'm a newbie to python and am curious if I can do the following in python. I'm
> not asking HOW to do this, just if it is possible before I spend the time to
> learn python and do it myself.
>
> I want to write a program to go to a webpage, pull the data, and then place it
> into an excel spreadsheet and then write it to an html file and allow me to
> also click on the link to the excel spreadsheet.
>
> Is this possible to do with python?
Yes. Some of the pieces you might use are
urllib2 and BeautifulSoup to get the data from the web page
win32com or pyexcelerator to write the Excel file
http://docs.python.org/lib/module-urllib2.html
http://www.crummy.com/software/BeautifulSoup/index.html
http://starship.python.net/crew/mhammond/win32/
http://sourceforge.net/projects/pyexcelerator
Kent
More information about the Tutor
mailing list