Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.05; 'rename': 0.07; 'subject:help': 0.07; 'errors,': 0.09; 'nameerror:': 0.09; 'received:mail-wi0-f178.google.com': 0.16; 'subject:user': 0.16; 'wrote:': 0.17; 'defined': 0.22; 'chapter': 0.23; 'errors': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'wonder': 0.27; 'correct': 0.28; 'lines': 0.28; 'received:209.85.212': 0.28; 'maybe': 0.29; 'code': 0.31; 'point': 0.31; 'anyone': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'received:192.168.2': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'message- id:@gmail.com': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'skip:" 10': 0.40; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'john': 0.60; 'kind': 0.61; 'more': 0.63; 'making': 0.64; 'book.': 0.65; 'chapters': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=+yykrWvVtbXSSXczYqKCmJV455VExJvMsxcRA/u88i0=; b=LLzxA95kADwHZpwNV3NFIDlLqA/VJBh+gc/dcjEdJLpBfnwo8yMnZbGhzAo3Ewae8J b8DlHsmFCGStqVVqxt11jpotsV2Jo2o7uvOaYP4Bb48ZviLAwBknymqU15o268nuUIKj 6chLgtVDrxx8dSYuOPGGl2IxNA0DBSO0a6KewyGc7Bb8VvbGnSY8faj3BFtBuaLKGh4B o4UcAFtln/c0xcgTorEFunZSXjc0HSfI3EU349M7InEK7+ljz9RaLQAzHriPZARZysyQ mmWSq9BD4DDeknPIVSRr76btwy20p7yJy1zMTBnieWWb5Vp29DGz+UsPX6EQyXaqueCj yTNA== Date: Tue, 07 Aug 2012 04:06:03 +0100 From: Jugurtha Hadjar User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Intermediate Python user needed help References: <506eb405-eb07-4175-9efb-40475cabacf1@googlegroups.com> In-Reply-To: <506eb405-eb07-4175-9efb-40475cabacf1@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1344308766 news.xs4all.nl 6874 [2001:888:2000:d::a6]:44182 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26675 On 08/05/2012 09:52 PM, John Mordecai Dildy wrote: > NameError: name 'start' is not defined > > anyone know how to make start defined Maybe rename it "defined_start" ;) I wonder how someone can get to the point of writing more than 76 lines of code while not only still making this kind of errors, but not even knowing what these errors mean and how to correct them. It's impossible. You can't write programs that are more than 10 lines without having encountered these errors and learnt how to deal with them. Unless you're reading exercises from a book, and feeling that you're "intermediate", you started reading from chapter 28 in a 29 chapters book. -- ~Jugurtha Hadjar,