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

Joel Goldstick joel.goldstick at gmail.com
Wed Jun 5 16:32:08 EDT 2013


On Wed, Jun 5, 2013 at 4:18 PM, Thomas Murphy
<thomasmurphymusic at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130605/c67c0d23/attachment.html>


More information about the Python-list mailing list