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


Groups > comp.lang.python > #38980 > unrolled thread

Re: New User-Need-Help

Started byTerry Reedy <tjreedy@udel.edu>
First post2013-02-15 18:52 -0500
Last post2013-02-15 18:52 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: New User-Need-Help Terry Reedy <tjreedy@udel.edu> - 2013-02-15 18:52 -0500

#38980 — Re: New User-Need-Help

FromTerry Reedy <tjreedy@udel.edu>
Date2013-02-15 18:52 -0500
SubjectRe: New User-Need-Help
Message-ID<mailman.1863.1360972354.2939.python-list@python.org>
On 2/15/2013 4:45 PM, Deborah Piotrowski wrote:

> 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")

That code is two statements. It should either have a semicolon

print"Game Over"; raw_input("\n\nPress Enter Key to exit")

or be entered on two lines

print"Game Over"
raw_input("\n\nPress Enter Key to exit")

> That's it. It is supposed to bring up a window that says "Game Over"

I don't know what system you are running on, but print just prints to 
the window you are running in and does not bring up a new window.

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web