Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'element': 0.07; 'subject:help': 0.08; '22,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language.': 0.14; 'times,': 0.14; '23,': 0.16; 'element.': 0.16; 'pulling': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; '---': 0.24; "i've": 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:with': 0.35; 'but': 0.35; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'free': 0.61; 'march': 0.61; 'entire': 0.61; 'viruses': 0.61; 'first': 0.61; 'back': 0.62; 'protection': 0.63; 'our': 0.64; 'effectively': 0.66; 'here': 0.66; 'antivirus': 0.68; 'below.': 0.71; 'bulk': 0.74; 'forth': 0.81; 'received:2': 0.84; 'imagine': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: help with for loop----python 2.7.2 Date: Sun, 23 Mar 2014 18:43:59 +0000 References: <84eb4c69-d43d-4777-8a99-34eed9be73d6@googlegroups.com> <03c8b5d0-363e-4287-80d0-a43b0266f2a3@googlegroups.com> <32858d81-7dcf-45de-af10-6157068f15af@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-198-214.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <32858d81-7dcf-45de-af10-6157068f15af@googlegroups.com> X-Antivirus: avast! (VPS 140323-1, 23/03/2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395600257 news.xs4all.nl 2832 [2001:888:2000:d::a6]:54945 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68819 On 23/03/2014 17:30, tad na wrote: > 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. >> >> >> >>> I don't understand why the for loop does not go through the entire rss. >> >> >> >>> Here is my code.... I've snipped the bulk of the message, but imagine what the above looks like when its been back and forth through gg a few times, it's effectively unreadable. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com