Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.052 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'messages.': 0.04; 'function,': 0.07; 'subject:help': 0.07; 'thread': 0.11; 'times,': 0.13; 'code?': 0.16; 'wrote:': 0.17; 'versions': 0.20; 'changes': 0.20; 'question.': 0.20; 'class.': 0.23; 'to:2**1': 0.23; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'continuing': 0.27; 'implemented': 0.27; 'factor': 0.29; 'code': 0.31; 'comments': 0.33; 'to:addr:python-list': 0.33; 'list': 0.35; 'doing': 0.35; 'pm,': 0.35; 'there': 0.35; 'really': 0.36; 'subject:Please': 0.36; 'useful': 0.36; 'should': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'delete': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'high': 0.61; 'between': 0.63; 'email addr:gmail.com': 0.63; 'header :Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'yourself': 0.77; 'to:name:python': 0.84; 'subject:you': 0.88 Date: Wed, 26 Dec 2012 18:49:27 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: bobflipperdoodle@gmail.com, PYTHON Subject: Re: Please help if you can! References: <7333128a-6866-4e3c-8436-d5b2397beadc@googlegroups.com> In-Reply-To: <7333128a-6866-4e3c-8436-d5b2397beadc@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:seDLebNiGEkjWB3xIcRjhyVhnHOGnoIviGPjm+6oUdG 6sPPWDTWBFLRt533+cVc65q7WpQjP1ll6ASz93sK9SGDrkvH/U bbb3m0hy8ABHKiY/27x7SRrbASVuZOh/22JzxsZTql1PVvF2ko D2ccF+qvVu9G/tuA+o5F4WwjTcaPmGlFosWGJubdoRHzYLu/zd tGLRhpPYNBegGZAo0Yp1hllatw4bBfvklrOfxzEn9AKkbw+et0 vFCdkGolnTB9Na4UzWQo26CA4U36xbHIfricrL0crAUEkGv2zD +5cql9qXWO9E/MHBDpcrabOMSasG3HEmgzeUoytuKZMufzojHz 0MK1tt1alvwvwxdVBTac= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356565828 news.xs4all.nl 6920 [2001:888:2000:d::a6]:47851 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35551 On 12/26/2012 06:04 PM, bobflipperdoodle@gmail.com wrote: > I really hope you can help! > Please use the existing thread when you're continuing to ask the same question. This mailing list has no way to delete messages. So what changes are there between the two versions of the code? Are they marked somehow? Have you absorbed and implemented the very useful comments made by Mitya? Whenever you find yourself doing exactly the same code many times, chances are high that you should factor it into a function, or a class. -- DaveA