Re: feedparser error

2014-04-26 Thread tad na
You guys are good. thanks. === On Saturday, April 26, 2014 11:55:35 AM UTC-5, MRAB wrote: On 2014-04-26 03:16, tad na wrote: python 2.7.2 The following code has an error and I can not figure out why: import feedparser d = feedparser.parse('http://bl.oc

Re: feedparser error

2014-04-26 Thread MRAB
On 2014-04-26 03:16, tad na wrote: python 2.7.2 The following code has an error and I can not figure out why: import feedparser d = feedparser.parse('http://bl.ocks.org/mbostock.rss') numb = len(d['entries']) for post in d.entries: print post.pubDate+"\n" -

Re: feedparser error

2014-04-26 Thread Kushal Kumaran
tad na writes: > python 2.7.2 > > The following code has an error and I can not figure out why: > > import feedparser > d = feedparser.parse('http://bl.ocks.org/mbostock.rss') > numb = len(d['entries']) > for post in d.entries: > print post.pubDate+"\n" > > ---

feedparser error

2014-04-25 Thread tad na
python 2.7.2 The following code has an error and I can not figure out why: import feedparser d = feedparser.parse('http://bl.ocks.org/mbostock.rss') numb = len(d['entries']) for post in d.entries: print post.pubDate+"\n" --- the error is : print post.pubD