Re: help with for loop----python 2.7.2

2014-03-23 Thread tad na
On Saturday, March 22, 2014 6:21:30 AM UTC-5, tad na wrote: > I am trying to get all the element data from the rss below. > > The only thing I am pulling is the first element. > I don't understand why the for loop does not go through the entire rss. > Here is my code..

Re: python installation on windows

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote: > Hi Everybody > > > > actually i want to run python on web browser. I downloaded python and > installed but i'm not able to run it in browser but it running using command > prompt. so i trying to install mod_wsgi 3.4. So i

Re: help with for loop----python 2.7.2

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:29:40 PM UTC-5, tad na wrote: > On Saturday, March 22, 2014 6:21:30 AM UTC-5, tad na wrote: > > > I am trying to get all the element data from the rss below. > > > > > > The only thing I am pulling is the first element. > > &

Re: help with for loop----python 2.7.2

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:40:04 PM UTC-5, Mark Lawrence wrote: > On 23/03/2014 17:30, tad na wrote: > Would you please use the mailing list > https://mail.python.org/mailman/listinfo/python-list or read and action > this https://wiki.python.org/moin/GoogleGroupsPython to prevent

Re: python installation on windows

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote: > On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote: > > Hi Everybody > > actually i want to run python on web browser. I downloaded python and > > installed but i'm not able to run it in br

Re: help with for loop----python 2.7.2

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:49:11 PM UTC-5, Ian wrote: > On Mar 23, 2014 11:31 AM, "tad na" wrote: > > OK . second problem :) > > I can print the date.  not sure how to do this one.. > Why not? What happens when you try? > > try: > >     from urllib

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

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('