ActivePython and Amara
James
fphsml at gmail.com
Wed Dec 14 06:01:41 EST 2005
More information about the Python-list mailing list
Wed Dec 14 06:01:41 EST 2005
- Previous message (by thread): ActivePython and Amara
- Next message (by thread): ActivePython and Amara
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If you are having problems installing Amara, ElementTree is another option http://effbot.org/downloads/elementtree-1.2.6-20050316.win32.exe from elementtree import ElementTree as ET from urllib import urlopen rss = ET.parse(urlopen('index.xml')) title = rss.find('//channel/title').text articles = [item.find('title').text for item in rss.findall('//channel/item')] This is quick and dirty. Read this (http://diveintopython.org/http_web_services/review.html) before you make the real thing.
- Previous message (by thread): ActivePython and Amara
- Next message (by thread): ActivePython and Amara
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list