Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26563

Re: Intermediate Python user needed help

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <z@etiol.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'raised': 0.07; 'received:209.85.160.174': 0.07; 'subject:help': 0.07; 'python': 0.09; 'nameerror:': 0.09; 'cc:addr:python-list': 0.10; 'suggest': 0.11; '66,': 0.16; 'hint:': 0.16; 'subject:user': 0.16; 'wrote:': 0.17; 'written': 0.20; 'defined': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'strongly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'all.': 0.28; 'far,': 0.29; 'code': 0.31; 'file': 0.32; 'could': 0.32; "aren't": 0.33; 'traceback': 0.33; 'problem': 0.33; 'anyone': 0.33; 'tutorial': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'anything': 0.36; 'problems': 0.36; 'two': 0.37; 'moment': 0.37; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'header:Received:5': 0.40; 'help': 0.40; 'think': 0.40; 'john': 0.60; "you've": 0.61; 'more': 0.63; 'to,': 0.65; 'august': 0.66; 'obvious': 0.71; 'yourself': 0.77
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=acBYoDn47hT3FZ67LeuycW6ap+PYAGGlqtzmOkCgjRY=; b=Ocr5IH5Y0Py/U5j3RvCCvBfU5KU54R0fuNBx5Fixyqv9EQdHzuFZD63hK6BWAD3ia3 kwjptrR/qbxKwjcOfxEQj7HCNlhYcRM6rcoGPai2uhcXilLg6v++SdCb7DNgqox7VJJ/ QyfxAtKRgEuljJSxWEwatEmBqgz6mxw1WAc8ps+454Y5ScMTLKG8jG3gcjw6jmQ2j2og kpstWZe6JF+PW3pj8JBokWxjJuZXW3rmvaA44CGwuQycKr70PWCYMQnvsrVqu2eQ/HOL EbcVBd6mkZT4sowMYeyLH1NkPLkb/valfab/MfMtZb/JbNDB+uNy9cF2oqP15HKpvu5j DWvA==
MIME-Version 1.0
Sender z@etiol.net
X-Originating-IP [190.104.28.24]
In-Reply-To <506eb405-eb07-4175-9efb-40475cabacf1@googlegroups.com>
References <a0e88106-affb-4f7c-8b13-de341ce0f319@googlegroups.com> <506eb405-eb07-4175-9efb-40475cabacf1@googlegroups.com>
From Zero Piraeus <schesis@gmail.com>
Date Sun, 5 Aug 2012 17:07:43 -0400
X-Google-Sender-Auth IA9v-ibovvSNGYTAnHs1ASJ8T1Q
Subject Re: Intermediate Python user needed help
To John Mordecai Dildy <jdildy85@gmail.com>
Content-Type text/plain; charset=UTF-8
X-Gm-Message-State ALoCoQm1ZZwCDwj+R5D9F/Q2i+Ty6ozLVq51GhRLuCOzHJ3JaAKqz64W3G19djKA63VT2Lf1aETQ
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2974.1344200886.4697.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1344200886 news.xs4all.nl 6971 [2001:888:2000:d::a6]:36692
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:26563

Show key headers only | View raw


:

On 5 August 2012 16:52, John Mordecai Dildy <jdildy85@gmail.com> wrote:
> Current Problem at the moment
>
> Traceback (most recent call last):
>   File "ex26.py", line 66, in <module>
>     beans, jars, crates = secret_formula(start-point)
> NameError: name 'start' is not defined
>
> anyone know how to make start defined

I think you could help yourself by reading a good tutorial or two ...
so far, the problems you've raised suggest quite strongly that you
either aren't reading the code with anything like the care that you
need to, or just don't understand Python at all.

Hint: if the offending line were written like this, would it be more
obvious what's wrong?

  beans, jars, crates = secret_formula(start - point)

 -[]z.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 12:29 -0700
  Re: Intermediate Python user needed help John Ladasky <john_ladasky@sbcglobal.net> - 2012-08-05 12:34 -0700
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 12:44 -0700
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 12:51 -0700
    Re: Intermediate Python user needed help Andrew Berg <bahamutzero8825@gmail.com> - 2012-08-05 15:09 -0500
    Re: Intermediate Python user needed help xDog Walker <thudfoo@gmail.com> - 2012-08-05 13:15 -0700
    Re: Intermediate Python user needed help Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-05 20:24 +0000
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 13:31 -0700
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 13:16 -0700
    Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 13:17 -0700
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 13:19 -0700
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 13:52 -0700
    Re: Intermediate Python user needed help Roy Smith <roy@panix.com> - 2012-08-05 17:01 -0400
    Re: Intermediate Python user needed help Tim Chase <python.list@tim.thechases.com> - 2012-08-05 16:03 -0500
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 14:09 -0700
      Re: Intermediate Python user needed help Roy Smith <roy@panix.com> - 2012-08-05 17:32 -0400
        Re: Intermediate Python user needed help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-08-05 23:15 +0100
        Re: Intermediate Python user needed help Tim Chase <python.list@tim.thechases.com> - 2012-08-05 18:27 -0500
    Re: Intermediate Python user needed help Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-08-05 23:06 +0200
    Re: Intermediate Python user needed help Zero Piraeus <schesis@gmail.com> - 2012-08-05 17:07 -0400
    Re: Intermediate Python user needed help MRAB <python@mrabarnett.plus.com> - 2012-08-05 22:08 +0100
    Re: Intermediate Python user needed help MRAB <python@mrabarnett.plus.com> - 2012-08-05 22:12 +0100
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 14:14 -0700
        Re: Intermediate Python user needed help alex23 <wuwei23@gmail.com> - 2012-08-05 19:49 -0700
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 14:14 -0700
        Re: Intermediate Python user needed help "William R. Wing" <wrw@mac.com> (Bill Wing) - 2012-08-05 19:38 -0400
    Re: Intermediate Python user needed help Andre Ramaciotti <andre@ramaciotti.com> - 2012-08-05 18:22 -0300
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 15:00 -0700
      Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 15:00 -0700
        Re: Intermediate Python user needed help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-08-05 23:17 +0100
        Re: Intermediate Python user needed help Tim Chase <python.list@tim.thechases.com> - 2012-08-05 18:19 -0500
          Re: Intermediate Python user needed help Roy Smith <roy@panix.com> - 2012-08-05 19:32 -0400
            Re: Intermediate Python user needed help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-05 21:15 -0400
            Re: Intermediate Python user needed help Tim Chase <python.list@tim.thechases.com> - 2012-08-05 20:27 -0500
          Re: Intermediate Python user needed help Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-06 00:42 +0000
    Re: Intermediate Python user needed help Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2012-08-07 04:06 +0100
      Re: Intermediate Python user needed help rusi <rustompmody@gmail.com> - 2012-08-06 20:52 -0700
        Re: Intermediate Python user needed help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-07 12:27 -0400
  Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-05 15:39 -0700
  Re: Intermediate Python user needed help Ethan Furman <ethan@stoneleaf.us> - 2012-08-06 09:05 -0700
    Re: Intermediate Python user needed help Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-07 01:16 +0000
      Re: Intermediate Python user needed help rusi <rustompmody@gmail.com> - 2012-08-06 20:55 -0700
  Re: Intermediate Python user needed help Alec Taylor <alec.taylor6@gmail.com> - 2012-08-07 02:13 +1000
  Re: Intermediate Python user needed help Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-08-06 19:05 +0200
  Re: Intermediate Python user needed help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-06 15:22 -0400
  Re: Intermediate Python user needed help Chris Angelico <rosuav@gmail.com> - 2012-08-07 07:59 +1000
  Re: Intermediate Python user needed help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-06 23:39 -0400
    Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-07 07:09 -0700
    Re: Intermediate Python user needed help John Mordecai Dildy <jdildy85@gmail.com> - 2012-08-07 07:09 -0700

csiph-web