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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'syntax': 0.03; 'error:': 0.05; '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; '\xa0this': 0.16; 'wrote:': 0.17; '>>>': 0.18; '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; 'received:209.85.212': 0.28; '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; 'print': 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; '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; 'more': 0.63; 'soon': 0.70; 'press': 0.71; 'presented': 0.72; '2013': 0.84; 'deborah': 0.84; 'happen!': 0.84; 'message.\xa0': 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=Uw+XpuXOOZw5ZVqgVhY5x7YLlUxyJM38XaEesAZH7Sc=; b=Ykba/qtOjPF4cCkyTpotp8B2CPHiH8ngO1QWIuHgkT1Cc8d8RgP5oI/LhYDx2NpY9Y nH8y0jwpHzgh1TJfmINPyEuJvpctrR02m2v5pG3B+JmW9zgG0wy0RloMhQiS0pRUGvgn xf3YLugKWLzBgs2PESVdv4VvpTpA2W6CjiomjBjaEnrzRcZYH5Du6Z037r4MQ0sTLRNw tigoLa1v5dmMJ4ZBKfN38hwi3Y4m1ejUr7BnugMgfCnkAephRF4bTM8zqXWb7g5eESbS j2m4/xxapwqRku8MtelFt8FYH6wCVfRivyKm1hz1qT4//36xWJn9EB67zhpjXFEL7llt j2qg== MIME-Version: 1.0 X-Received: by 10.52.28.44 with SMTP id y12mr4938917vdg.19.1360969697361; Fri, 15 Feb 2013 15:08:17 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Feb 2013 16:08:17 -0700 Subject: Re: New User-Need-Help From: Deborah Piotrowski To: Bob Brusa Content-Type: multipart/alternative; boundary=20cf30780c105c7ff604d5cb7350 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 146 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360969700 news.xs4all.nl 6903 [2001:888:2000:d::a6]:33008 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38970 --20cf30780c105c7ff604d5cb7350 Content-Type: text/plain; charset=ISO-8859-1 print "Game Over" input("\n\nPress the Enter Key to Exit") Syntax Error: Invalid Syntax On Fri, Feb 15, 2013 at 3:48 PM, Bob Brusa wrote: > > > Am Freitag, 15. Februar 2013 schrieb Joel Goldstick : > > >> >> >> On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski < >> 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 > -- Nicholas J. Piotrowski --20cf30780c105c7ff604d5cb7350 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable print "Game Over"
input("\n\nPress the Enter Key to Exit= ")
Syntax Error: Invalid Syntax

On Fri, Feb 15, 2013 at 3:48 PM, Bob Brusa <bob.brusa@gmail.com> wrote:


Am Freitag, 15. Februar 2013 schrieb= Joel Goldstick :




On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski <<= a>spiceninja4u@gmail.com> wrote:
Hi,


I am v= ery new to Python, I am using the e-book "Python Programming for the A= bsolute Beginner" and am starting with a simple "Game Over" = Program. =A0This 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 importan= t.=A0 You have presented your code in a way that can't be.=A0 Can you a= ctually copy your program and paste it into an email message.=A0 Also, Wind= ows, Linux, Mac?

=A0
That's it. It= is supposed to bring up a window that says "Game Over" and at th= e bottom say "Press enter Key to exit" and when you press the ent= er key it is supposed to exit(big suprise).
But all it does is highlight "raw_input" and says "inva= lid 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 sup= posed to happen!
Please email me back as soon as you get this...(if you are not to busy).=A0=

Thanks,Nicholas=A0

--
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=A0python 3.3 on my iPad.
Bob=A0


--
Von Gmail Mobile gesendet



-- Nicholas J. Piotrowski --20cf30780c105c7ff604d5cb7350--