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


Groups > comp.lang.python > #75822

Re: Wikibooks example doesn't work

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'read.': 0.03; 'exception,': 0.09; 'throws': 0.09; 'cc:addr:python-list': 0.11; 'language.': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'traceback.': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'getting': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'pm,': 0.38; 'expect': 0.39; 'enough': 0.39; 'how': 0.40; 'full': 0.61; 'show': 0.63; '"it': 0.84; 'working,': 0.84; 'to:none': 0.92
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:cc :content-type; bh=Vm/hnFNZ7+QynPou/Xlkv+pPsb0VD8827NDJdzg+AxI=; b=rVFvKxKCJXpGiPqwWNmM9tCAwEbfXEepCBUa44FLBanf554yKuxxK9HGcSQNomTOm+ kw12NtiY6SEhD0KO9dtohyes/Aal9T3TJ5m6xaxTM/ZkFpd8r5leuSESkB1HJ48ePgEu 1NUILnDYtzkM8FEBTsC8z7Ys1zHyQABE1VeJh0RlaS1vn6XXjvF88AgS9Mnkqhf1QCuM Ebhe8dNLYhzpsGSm6PQxZ6rWNkity091tGOShKA7LDV72WpiIlKTn5ylHsCiJHITov// 5stSexE+0V/RQ/L7wdxnvJ360A5b28T+2nctXcXkBbEKszf4CvM30bEv0+oaHTXDu/YC hbwg==
MIME-Version 1.0
X-Received by 10.42.216.148 with SMTP id hi20mr445459icb.12.1407381078665; Wed, 06 Aug 2014 20:11:18 -0700 (PDT)
In-Reply-To <ilq5u9lfopj0g8227i5ko9s0lhn1ppcacm@4ax.com>
References <ilq5u9lfopj0g8227i5ko9s0lhn1ppcacm@4ax.com>
Date Thu, 7 Aug 2014 13:11:18 +1000
Subject Re: Wikibooks example doesn't work
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12717.1407381082.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407381082 news.xs4all.nl 2850 [2001:888:2000:d::a6]:54981
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75822

Show key headers only | View raw


On Thu, Aug 7, 2014 at 12:58 PM, Seymore4Head
<Seymore4Head@hotmail.invalid> wrote:
> Why not?
> I think I know why it isn't working, but I don't know enough yet on
> how it should work.
> The If statement isn't getting read.

One thing you need to learn about Python... or, for that matter,
pretty much any language. "It isn't working" is not very helpful; what
you need to do is show what you expect and what it does. If the script
throws an exception, post the full traceback.

ChrisA

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


Thread

Wikibooks example doesn't work Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-06 22:58 -0400
  Re: Wikibooks example doesn't work Chris Angelico <rosuav@gmail.com> - 2014-08-07 13:11 +1000
  Re: Wikibooks example doesn't work John Gordon <gordon@panix.com> - 2014-08-07 03:18 +0000
  Re: Wikibooks example doesn't work Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-06 23:25 -0400
    Re: Wikibooks example doesn't work Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-07 13:43 +1000
      Re: Wikibooks example doesn't work Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-06 23:48 -0400
        Re: Wikibooks example doesn't work Larry Hudson <orgnut@yahoo.com> - 2014-08-06 21:59 -0700
          Re: Wikibooks example doesn't work Ben Finney <ben+python@benfinney.id.au> - 2014-08-07 15:06 +1000
          Re: Wikibooks example doesn't work Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-07 11:11 -0400
    Re: Wikibooks example doesn't work alex23 <wuwei23@gmail.com> - 2014-08-07 14:09 +1000
    RE: Wikibooks example doesn't work8 Andrew Christianson <Andrew.Christianson@Ipsos.com> - 2014-08-07 03:43 +0000
  Re: Wikibooks example doesn't work Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-07 13:31 +1000

csiph-web