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


Groups > comp.lang.python > #38980

Re: New User-Need-Help

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!news.skynet.be!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'subject:Help': 0.10; '"python': 0.16; 'over"': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'semicolon': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'supposed': 0.21; 'programming': 0.23; 'absolute': 0.23; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.28; 'lines': 0.28; 'prints': 0.29; 'window': 0.30; 'on,': 0.30; 'code': 0.31; 'running': 0.32; 'print': 0.32; 'says': 0.33; 'to:addr:python-list': 0.33; 'entered': 0.34; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'does': 0.37; 'two': 0.37; 'subject:New': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'subject:Need': 0.61; 'bring': 0.62; 'deborah': 0.84; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: New User-Need-Help
Date Fri, 15 Feb 2013 18:52:16 -0500
References <CAJshyR=+eJCJ9XOSVGwrStZ12TNJGPHgoJm4g5W2KXMVfHye6A@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To <CAJshyR=+eJCJ9XOSVGwrStZ12TNJGPHgoJm4g5W2KXMVfHye6A@mail.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.1863.1360972354.2939.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360972354 news.xs4all.nl 6900 [2001:888:2000:d::a6]:46402
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38980

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web