[Tutor] Retrieve data

Rafael Durán Castañeda rafadurancastaneda at gmail.com
Tue Apr 12 21:59:02 CEST 2011


You cand use urllib to connect that web page and then use a custom html
parser to get exactly what you want, even I think you could use regex; just
look source code from the webpage, check for the data you are interested in
and get it.


2011/4/12 <l.leichtnam at gmail.com>

> Hello everyone,
>
> I would to retrieve data, and especially the temperature and the weather
> from http://www.nytimes.com/weather. And I don't know how to do so.
>
> Thank you,
>
> Louis
> Sent from my BlackBerry® on the MetroPCS Network
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110412/767963e7/attachment-0001.html>


More information about the Tutor mailing list