Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: Ignore error with non-zero exit status Date: Mon, 21 Dec 2015 08:54:15 +0100 Organization: PointedEars Software (PES) Lines: 20 Message-ID: <38180823.07PURaZOhP@PointedEars.de> References: <3883651.fOIMIIEhYO@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1450684456 26062 eJwNytsBADEEBdGWxLoe5WCl/xLid87g06NtolDBxTVpkPwV5TQdleyJKRqZ2GWqN3jyWc1meykWEbY= (21 Dec 2015 07:54:16 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 21 Dec 2015 07:54:16 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwDAEBMCVSPhnnBL2H6F3fqFoGhzm66ufWCxjoXUqOLeRQlGEJLiaiegttA14xE00HJjjxYf3Ayg1FDM= Cancel-Lock: sha1:LlFcn3b742VOZkuV1/AoooWA1zM= X-NNTP-Posting-Host: eJwFwYEBACAEBMCVnngZp8j+I3Tni8IKo9N8fEwB25plcwvSb1Z6Vj8LNJWyj1RGo3APkR8QpRDI Xref: csiph.com comp.lang.python:100649 Ganesh Pal wrote: [repaired Subject, restored attribution] > Thomas 'PointedEars' Lahn wrote: >> Most simple solution for this: Do not use a loop. More "complicated" >> solution: Use an “if” statement. > > I want to stick on to loop and try modifying the code with if. Should I > use some comparison operation with if ? Yes. Please see, again, -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.