By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

WEATHER PROGRAMMING IN PYTHON

P: n/a
how to diplay the weather condiction on my webpage
suppose i want to read weather from www.bbc.co.uk/weather.html
how i can read it usin program

May 31 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In <11**********************@n15g2000prd.googlegroups .com>, sandeep patil
wrote:
how to diplay the weather condiction on my webpage
suppose i want to read weather from www.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

May 31 '07 #2

P: n/a
On May 31, 8:44 am, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
In <1180618635.925002.282...@n15g2000prd.googlegroups .com>, 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...world/0008.xml

See here for more info on RSS with Python:
http://wiki.python.org/moin/RssLibraries

Mike

May 31 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.