Re: WEATHER PROGRAMMING IN PYTHON
- From: kyosohma@xxxxxxxxx
- Date: 31 May 2007 06:53:12 -0700
On May 31, 8:44 am, Marc 'BlackJack' Rintsch <bj_...@xxxxxxx> wrote:
In <1180618635.925002.282...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, sandeep patil
wrote:
how to diplay the weather condiction on my webpage
suppose i want to read weather fromwww.bbc.co.uk/weather.html
how i can read it usin program
It's hard to scrape information about weather from an 404 error page. ;-)
Find some page with actual weather reports or forecasts and use the
BeautifulSoup module to scrape the information you need.
Ciao,
Marc 'BlackJack' Rintsch
It looks like you might even be able to use the rss module from Python
on this sub-page:
http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/0008.xml
See here for more info on RSS with Python:
http://wiki.python.org/moin/RssLibraries
Mike
.
- References:
- WEATHER PROGRAMMING IN PYTHON
- From: sandeep patil
- Re: WEATHER PROGRAMMING IN PYTHON
- From: Marc 'BlackJack' Rintsch
- WEATHER PROGRAMMING IN PYTHON
- Prev by Date: Re: HTML Form/Page and Navigation with multiple buttons
- Next by Date: Re: HTML Form/Page and Navigation with multiple buttons
- Previous by thread: Re: WEATHER PROGRAMMING IN PYTHON
- Next by thread: How do I Extract Attachment from Newsgroup Message
- Index(es):