Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38966
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bob.brusa@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.020 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'python,': 0.02; 'linux,': 0.05; 'pixel': 0.07; 'python': 0.09; 'windows,': 0.09; 'cc:addr :python-list': 0.10; 'subject:Help': 0.10; '"invalid': 0.16; '"python': 0.16; 'februar': 0.16; 'freitag,': 0.16; 'gesendet': 0.16; 'highlight': 0.16; 'over"': 0.16; 'wrote:': 0.17; 'input': 0.18; 'feb': 0.19; 'email addr:gmail.com>': 0.20; 'python?': 0.20; 'supposed': 0.21; 'programming': 0.23; '15,': 0.23; 'absolute': 0.23; 'cc:2**1': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'cc:addr:gmail.com': 0.27; 'important.': 0.27; 'message- id:@mail.gmail.com': 0.27; 'indentation': 0.29; 'url:mailman': 0.29; 'skip:& 10': 0.29; 'fri,': 0.30; 'window': 0.30; 'code': 0.31; 'url:python': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'message.': 0.33; 'says': 0.33; 'hi,': 0.33; 'skip:& 20': 0.33; 'version': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'be.': 0.36; 'does': 0.37; 'subject:New': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'received:209.85.214': 0.39; 'subject:-': 0.40; 'url:mail': 0.40; 'your': 0.60; 'bottom': 0.60; 'subject:Need': 0.61; 'bring': 0.62; 'back': 0.62; 'skip:n 10': 0.63; 'email addr:gmail.com': 0.63; 'more': 0.63; 'soon': 0.70; 'press': 0.71; 'presented': 0.72; '2013': 0.84; 'deborah': 0.84; 'happen!': 0.84; 'underneath': 0.84; 'bob': 0.91; 'joel': 0.91; 'simple!': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=kann4r2+Y4E3Sa0HgLrTNvMCORWvTYo95bbemgQAy2c=; b=peoFEsrzaqU1Jg0SuGAaUDKmrfG1k/uilbCmsrENYs/+h3kpwx3CTy5/bq5n9hdb+R stJfwf7qVn+jt5ApkrqaA7SwyFyD1wPTV5G3T56KldyEz6ilYsvQxDGtM02YJwGVuiYK z8C4gMedwxfCMiwdD2+NYHulPy9nJz3bAJ5ltodIe/scyPALUYuuKrte8+KdjBGOZG5x Nkry0IJKmZgB+wVfsQso4VV52TS8w5nBQp/K8LHVDQFY9joZlNWNU9HyGfHrCISc1Wrb A/jl0juq298Z7TIBVbqvnsc8jDO/hYwXlw5obUDpZavqzSpdQeRbYLT41GPPbekeOXTz +0BA== |
| MIME-Version | 1.0 |
| X-Received | by 10.182.147.69 with SMTP id ti5mr2869441obb.88.1360968510962; Fri, 15 Feb 2013 14:48:30 -0800 (PST) |
| In-Reply-To | <CAPM-O+x45WHyR+8FfeEAstQE+DzKLJn1r1QZRmghyFeRbTpWyw@mail.gmail.com> |
| References | <CAJshyR=+eJCJ9XOSVGwrStZ12TNJGPHgoJm4g5W2KXMVfHye6A@mail.gmail.com> <CAPM-O+x45WHyR+8FfeEAstQE+DzKLJn1r1QZRmghyFeRbTpWyw@mail.gmail.com> |
| Date | Fri, 15 Feb 2013 21:48:30 -0100 |
| Subject | Re: New User-Need-Help |
| From | Bob Brusa <bob.brusa@gmail.com> |
| To | Joel Goldstick <joel.goldstick@gmail.com> |
| Content-Type | multipart/alternative; boundary=f46d044400a8a57b6104d5cb2c9c |
| Cc | "python-list@python.org" <python-list@python.org>, Deborah Piotrowski <spiceninja4u@gmail.com> |
| 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.1853.1360968514.2939.python-list@python.org> (permalink) |
| Lines | 119 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360968514 news.xs4all.nl 6958 [2001:888:2000:d::a6]:50462 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38966 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Am Freitag, 15. Februar 2013 schrieb Joel Goldstick :
>
>
>
> On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski <
> spiceninja4u@gmail.com <javascript:_e({}, 'cvml',
> 'spiceninja4u@gmail.com');>> wrote:
>
>> Hi,
>>
>>
>> I am very new to Python, I am using the e-book "Python Programming for
>> the Absolute Beginner" and am starting with a simple "Game Over" Program.
>> This is the code:which is extremely simple!
>> print"Game Over" raw_input("\n\nPress Enter Key to exit")
>>
>
> welcome Nicholas
>
>
> One important thing about python is indentation is important. You have
> presented your code in a way that can't be. Can you actually copy your
> program and paste it into an email message. Also, Windows, Linux, Mac?
>
>
>
>> That's it. It is supposed to bring up a window that says "Game Over" and
>> at the bottom say "Press enter Key to exit" and when you press the enter
>> key it is supposed to exit(big suprise).
>> But all it does is highlight "raw_input" and says "invalid syntax" Now,
>> if I just put "print "Game Over"" then it says Game Over UNDERNEATH the
>> code I just printed!
>> now I am following the book to the *pixel* and that is not what is
>> supposed to happen!
>> Please email me back as soon as you get this...(if you are not to busy).
>>
>> Thanks,Nicholas
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>
>
> --
> Joel Goldstick
> http://joelgoldstick.com
>
Nicholas,
Could it be that you use a more recent version ( e. g. 3.3) of python? I
found that raw_input is indeed no longer recognized. Use input instead and
your code will work - at least it did so with python 3.3 on my iPad.
Bob
--
Von Gmail Mobile gesendet
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: New User-Need-Help Bob Brusa <bob.brusa@gmail.com> - 2013-02-15 21:48 -0100
csiph-web