Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed1a.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.039 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrote': 0.14; 'anyway': 0.14; 'indexerror:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:variable': 0.16; 'index': 0.16; 'prevent': 0.16; 'fix': 0.17; 'header:X-Complaints- To:1': 0.27; 'getting': 0.31; 'dance': 0.36; 'should': 0.36; 'turn': 0.37; 'list': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'deleting': 0.60; 'range': 0.61; 'back': 0.62; 'email addr:gmail.com': 0.63; 'kind': 0.63; 'wear': 0.68; 'car': 0.72; 'funny': 0.74; 'nonsense.': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Flag control variable Date: Wed, 12 Feb 2014 13:51:43 -0500 (EST) Organization: news.gmane.org References: <68f27949-e613-476b-9227-5a86e4f4df91@googlegroups.com> <9335871e-e4a5-4bdf-92de-72ac7f20a722@googlegroups.com> X-Gmane-NNTP-Posting-Host: dpc6744192124.direcpc.com X-Newsreader: PiaoHong Usenet NewsReaders 1.36 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392230902 news.xs4all.nl 2864 [2001:888:2000:d::a6]:43560 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66072 luke.geelen@gmail.com Wrote in message: > Deleting all the obnoxious doublespaced googlegroups nonsense. .. > > then i keep getting IndexError: list index out of range > anyway to prevent it and just set the value to 0? > My car makes a funny noise. What kind of coat should I wear to the dance to fix it? And do I turn left or back up at the corner? -- DaveA