Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ganesh Pal Newsgroups: comp.lang.python Subject: Re: Ignore error with non-zero exit status (was: How to ignore error with anon-zero exit status) Date: Mon, 21 Dec 2015 08:22:22 +0530 Lines: 16 Message-ID: References: <3883651.fOIMIIEhYO@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de q7fXpFeNeJBaGWQwl9ebVQ4nKw1hws3Klz9XMhHLC67w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'modifying': 0.07; 'cc:addr :python-list': 0.09; 'subject:How': 0.09; 'loop.': 0.09; 'subject:ignore': 0.09; 'subject:error': 0.11; 'subject: \n ': 0.15; 'received:io': 0.16; 'received:psf.io': 0.16; 'statement.': 0.16; 'subject:non': 0.16; 'typo.': 0.16; 'wording': 0.16; 'stick': 0.18; '>': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'this:': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'comparison': 0.29; 'code': 0.30; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'subject:-': 0.39; 'subject:with': 0.40; 'space': 0.40; 'some': 0.40; 'skip:n 10': 0.62; 'more': 0.63; 'skip:\xe2 10': 0.70; 'subject:status': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=seeCmos59vlUT7dX4sjDy0vFMGtfQkNGDBf5DKPmykk=; b=L5JJspse1ieBnM+nDYyscD8LRLQDhVufJZHb8UH5H9cXUw9VTPMtKER9J1A0SrDlD3 hM0PhWpTkdssWi9Iyw6XNrygkXOyUXwm92sjdovGeqoJ0oW9eACw6rs1ld7jzHOC2BpI ekbM01htXTmuFdnmHzRj1yEeOs3paQO6STNB4f/me28EjZoNwMElAEVScmHDbbWguElD SEfOcLHKvD1zUT7/bQb1y/WyiXRJ1u0hRF7UgnPLJjOEI5s+DGKlyMVV9eLS8UydNNXA D2rLWsCHkhCSQ80E2ifBH0bob72Pc30wokcTFbT3mD7WEoaZRbVDENyCMDRCRvW95cke Gv3w== X-Received: by 10.112.140.6 with SMTP id rc6mr5396405lbb.115.1450666342464; Sun, 20 Dec 2015 18:52:22 -0800 (PST) In-Reply-To: <3883651.fOIMIIEhYO@PointedEars.de> X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100642 > (Polite people would *ask* a *question*.) I am a polite person , sorry if the wording was harsh. > (=E2=80=9C_a non-zero_=E2=80=9D, with a space in-between. =E2=80=9Canon= =E2=80=9D can be misunderstood as an > abbreviation for =E2=80=9Canonymous=E2=80=9D.) It was a typo. > Most simple solution for this: Do not use a loop. More "complicated" > solution: Use an =E2=80=9Cif=E2=80=9D statement. I want to stick on to loop and try modifying the code with if. Should I use some comparison operation with if ?