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


Groups > comp.lang.python > #47148

Re: I just wrote my first Python program a guessing game and it exits with an error I get this.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:error': 0.03; 'causing': 0.04; 'yet.': 0.04; 'subject:Python': 0.06; 'happens.': 0.09; 'jesus': 0.09; 'lost.': 0.09; 'things,': 0.09; 'works.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'posted': 0.15; '"python': 0.16; 'jewish': 0.16; 'subject: \n ': 0.16; 'subject:program': 0.16; 'sys.exit(0)': 0.16; 'folks': 0.16; 'followed': 0.16; 'student': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'bit': 0.19; 'dependent': 0.19; 'seems': 0.21; 'input': 0.22; 'cc:addr:gmail.com': 0.22; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; "aren't": 0.24; 'conjunction': 0.24; 'example.': 0.24; "shouldn't": 0.24; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'concern': 0.31; 'perl': 0.31; 'post.': 0.31; 'critical': 0.32; 'quite': 0.32; 'url:python': 0.33; 'whom': 0.33; 'message.': 0.35; 'subject:with': 0.35; 'basic': 0.35; "can't": 0.35; 'received:209.85': 0.35; 'classes': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'version': 0.36; 'c++': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'list': 0.37; 'project': 0.37; 'received:209': 0.37; 'being': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'heard': 0.39; 'visual': 0.39; 'changed': 0.39; 'url:mail': 0.40; 'skip:u 10': 0.60; 'guy': 0.60; 'removing': 0.60; 'lost': 0.61; "you're": 0.61; 'save': 0.62; 'name': 0.63; 'telling': 0.64; 'more': 0.64; 'different': 0.65; 'taking': 0.65; 'thomas': 0.65; 'to:addr:gmail.com': 0.65; 'life': 0.66; 'answer.': 0.68; 'gentile': 0.68; 'person.': 0.69; 'subject:get': 0.81; 'life.': 0.83; 'lesson.': 0.84; 'them)': 0.84; 'wat': 0.84; 'joel': 0.91; 'imagine': 0.93; 'sex': 0.93; '2013': 0.98
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:to :cc:content-type; bh=pM3FEIJ7RGlPfgmYGXN7IaAlIvatjSWfXF85kxYN4Pw=; b=SbBpTWybvtCv4srE5DEfhfRbNl545vuDWg/fsR1sqQY7IJ5YdHgHQDnRlfyAkjgqfh NVors/FCIHgtFEuh2NVQvTvsC8HmOJpiuKBj/zmUGHZL5+fsfUrRrcVJ/V6xMHTA1r1q kjnEeMc9fBEaAxmocurA9q3Qd/TMwv8sEGXwfpJGvHGnJsm2e2Uemmc+tQYxmWjF3Ip8 1QeSLHivwtYCs6K0dmoZAU/y9kHCWLLi9pXy+zBcwnQRxZK/qFu5HqnnkdNu2nv3BRA3 qDYxgQ3IY0sPHzDOLr7PQAKLO/gIic7bVAYeOl36rNC/aeoOGPZwc8jhkr6V4Ml3ICyX FfEA==
MIME-Version 1.0
X-Received by 10.52.165.99 with SMTP id yx3mr17657185vdb.34.1370464328512; Wed, 05 Jun 2013 13:32:08 -0700 (PDT)
In-Reply-To <CAEcwjcw7OCOO6a4Yf9M+2vV+avEy8Pyt_2n-vWBM10bznZiMUQ@mail.gmail.com>
References <498fb115-8568-478d-8443-1be20dd5c335@googlegroups.com> <35ea9e7f-baa3-4bc8-899c-0a11b8106365@googlegroups.com> <mailman.2740.1370448978.3114.python-list@python.org> <622d0d3c-c2a2-4d24-80c3-3eb9d8da1364@googlegroups.com> <CAEcwjcw7OCOO6a4Yf9M+2vV+avEy8Pyt_2n-vWBM10bznZiMUQ@mail.gmail.com>
Date Wed, 5 Jun 2013 16:32:08 -0400
Subject Re: I just wrote my first Python program a guessing game and it exits with an error I get this.
From Joel Goldstick <joel.goldstick@gmail.com>
To Thomas Murphy <thomasmurphymusic@gmail.com>
Content-Type multipart/alternative; boundary=001a11c2473a7a7b9b04de6e1734
Cc Armando Montes De Oca <armandomontesdeocaiii@gmail.com>, Python <python-list@python.org>
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 <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.2764.1370464331.3114.python-list@python.org> (permalink)
Lines 153
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370464331 news.xs4all.nl 15921 [2001:888:2000:d::a6]:58339
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47148

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jun 5, 2013 at 4:18 PM, Thomas Murphy
<thomasmurphymusic@gmail.com>wrote:

> Goldstick which seems Jewish to me. I would think as a Gentile Heathen
> Jesus save us this would project a need for a good sex life
>
> *WAT*
> *
> *
>
I second the WAT.  You are a strange  person.  I think you were being
offensive.  I can't help you with your sex life.  Sorry kid.

> **
> *
> *
> Armando, are you understanding that input and raw_input make Python do
> very different things, and this is dependent of the version of Python
> you're using? Folks aren't being pedantic, it's critical to giving you a
> good answer.
>
>
> So it seems you changed your input to raw_input and now your program
works.  But you don't like the final message.  Do you know what this line
does:

        sys.exit(0)

If you don't, then you shouldn't have put it in your program.  Google it
"python sys.exit(0)".

I imagine that is what is causing the message you are concerned with.  Try
removing that line (each place you have them) and see what happens.

Also, there is a python-tutor list that may be a better place for you to
post.

Try being polite.  You may be quite a bit more lost than you realize!


> On Wed, Jun 5, 2013 at 3:59 PM, Armando Montes De Oca <
> armandomontesdeocaiii@gmail.com> wrote:
>
>> Well I am replying to To whom it may concern at this point I am a bit
>> lost. I posted all my code. I am not taking classes on this nor do I have a
>> book I followed a guy on You Tube. I am a student but I heard Python is a
>> good language to learn in conjunction with C++ and Perl for example. I have
>> taken Visual Basic 2010 last semester so keep thinking for me if you like
>> if not when I can get a Python book or lesson. Joel Goldstick seems the
>> more "professorly" so far by telling me the right thing of I have not
>> learned something yet. Also with a name like Goldstick which seems Jewish
>> to me. I would think as a Gentile Heathen Jesus save us this would project
>> a need for a good sex life.
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>
>
>
> --
> Sincerely,
> Thomas Murphy
> Code Ninja
> 646.957.6115
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 07:40 -0700
  RE: I just wrote my first Python program a guessing game and it exits with an error I get this. Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-05 18:07 +0300
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Alister <alister.ware@ntlworld.com> - 2013-06-05 15:11 +0000
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:14 -0700
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Tim Golden <mail@timgolden.me.uk> - 2013-06-05 16:23 +0100
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-06-05 10:38 -0500
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:16 -0700
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:18 -0700
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 16:25 +0100
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:35 -0700
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-06-05 11:15 -0500
      Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 12:59 -0700
        Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-06-05 16:18 -0400
        Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Chris Angelico <rosuav@gmail.com> - 2013-06-06 06:23 +1000
        Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 16:32 -0400
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 12:30 -0400
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:56 -0700
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 09:01 -0700
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 14:02 -0700
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 15:51 -0700
    Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-06 00:32 +0100
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-05 19:45 -0400
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-06 02:08 +0000
  Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-06 07:49 -0700

csiph-web