Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!newsreader4.netcologne.de!news.netcologne.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.062 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; '22,': 0.09; 'received :mail-vc0-f174.google.com': 0.09; 'url:faqs': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'help?': 0.16; 'subject:when': 0.16; 'url:catb': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'helpful.': 0.29; 'received:209.85.220.174': 0.29; 'problem.': 0.32; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'posting': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'thank': 0.36; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'first': 0.61; "you'll": 0.62; 'love': 0.63; 'here': 0.65; '2013': 0.84; 'laid': 0.84; 'eli': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=JM+dggYlCh7X44jCUmOWnopwL37oB4ZInZCHBG25+xo=; b=ROxHibFycYRXBexjmVvlbtN9NUAHYoshAhMAadTGWp4HrOrGe4NQz9hXEB0R1FFcnw i8tOR5xv40sjCbYIqW17Cc1KUhfe8TLPL+nL13hKw397CXXlJ++t+xxLVCRqdm+Do/GQ plnyJfL0fQdxQhcWaiGl/eQAVxbO4W/C7kO6O/q7yuJNIyHfUzaXd5QVCbl82RNEQPf+ BtFeU8EeDtNeON9TkV7QPSi2Vg4NlAZYKx1kg0XADgRawGOPmiG9ux3LBRQ6j3MvbC8a zy/iQxy6XSr8bfDPepT/wmPJOWoYaMoUvaAgCtYB7m0+GuIaHdvQdShMYa9N7d9k0SJL lYFw== MIME-Version: 1.0 X-Received: by 10.52.29.109 with SMTP id j13mr13847276vdh.111.1358793856779; Mon, 21 Jan 2013 10:44:16 -0800 (PST) In-Reply-To: <1796075c-5b40-4034-ac44-ec33f5c54e67@googlegroups.com> References: <2cc6791f-ba56-406c-a5b0-b23023caf4bb@googlegroups.com> <1796075c-5b40-4034-ac44-ec33f5c54e67@googlegroups.com> Date: Tue, 22 Jan 2013 05:44:16 +1100 Subject: Re: Else statement executing when it shouldnt From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358793859 news.xs4all.nl 6936 [2001:888:2000:d::a6]:33347 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37218 On Tue, Jan 22, 2013 at 2:37 AM, eli m wrote: > Thank you, that solved my problem. Sorry for my posts, i am a noob and this is my first time posting on here. There's nothing wrong with being a noob, we all start out that way. Want to be one of the people we love to help? Here are some tips: http://www.catb.org/esr/faqs/smart-questions.html It's longish, but you'll find it helpful. The principles laid out in that document govern pretty much every geeky forum, and a good number of others besides. ChrisA