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.

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 2013-06-05 16:32 -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>
Newsgroups comp.lang.python
Message-ID <mailman.2764.1370464331.3114.python-list@python.org> (permalink)

Show all headers | 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