User Tools

Site Tools


public:t-vien-10-3:lab_1_materials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

public:t-vien-10-3:lab_1_materials [2010/09/16 10:08]
hannes
public:t-vien-10-3:lab_1_materials [2010/09/16 10:10] (current)
hannes
Line 96: Line 96:
  
 # We'll call the Yahoo RSS weather service and request info for Reykjavik (ICXX0002) # We'll call the Yahoo RSS weather service and request info for Reykjavik (ICXX0002)
-rssweather_socket = urllib.urlopen("http://weather.yahoo.com/forecastrss?p=ICXX0002")+rssweather_socket = urllib.urlopen("http://weather.yahooapis.com/forecastrss?p=ICXX0002")
 rssweather_xml = minidom.parse(rssweather_socket)  rssweather_xml = minidom.parse(rssweather_socket) 
 rssweather_socket.close() rssweather_socket.close()
/var/www/ailab/WWW/wiki/data/pages/public/t-vien-10-3/lab_1_materials.txt ยท Last modified: 2010/09/16 10:10 by hannes