Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47084
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <carlosnepomuceno@outlook.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'else:': 0.03; 'string.': 0.05; 'subject:Python': 0.06; 'string': 0.09; 'exits': 0.09; 'parsing': 0.09; 'python': 0.11; 'wrote': 0.14; '32,': 0.16; 'declared': 0.16; 'eof': 0.16; 'exited': 0.16; 'expects': 0.16; 'guessing': 0.16; 'subject: \n ': 0.16; 'subject:program': 0.16; 'syntaxerror:': 0.16; 'sys.exit(0)': 0.16; 'unexpected': 0.16; 'used:': 0.16; 'wed,': 0.18; 'input': 0.22; 'to:name:python-list@python.org': 0.22; 'print': 0.22; 'error': 0.23; 'received:65.55.116': 0.24; '>': 0.26; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; 'url:mailman': 0.30; '"",': 0.31; 'file': 0.32; 'this.': 0.32; 'url:python': 0.33; '(most': 0.33; 'date:': 0.34; 'subject:with': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'skip:& 10': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'recent': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'first': 0.61; 'email addr:gmail.com': 0.63; 'email name:python-list': 0.65; 'computers': 0.72; 'subject:get': 0.81; 'loose': 0.84; '2013': 0.98 |
| X-TMN | [oXRm+uguc99h4uAe/OnvlOvS+FVHUN+4] |
| X-Originating-Email | [carlosnepomuceno@outlook.com] |
| Content-Type | multipart/alternative; boundary="_a3a07783-43d3-4b4c-99f6-48938b4cc4f7_" |
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | RE: I just wrote my first Python program a guessing game and it exits with an error I get this. |
| Date | Wed, 5 Jun 2013 18:07:21 +0300 |
| Importance | Normal |
| In-Reply-To | <498fb115-8568-478d-8443-1be20dd5c335@googlegroups.com> |
| References | <498fb115-8568-478d-8443-1be20dd5c335@googlegroups.com> |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 05 Jun 2013 15:07:22.0089 (UTC) FILETIME=[6136C590:01CE61FE] |
| 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.2733.1370444849.3114.python-list@python.org> (permalink) |
| Lines | 69 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1370444849 news.xs4all.nl 16010 [2001:888:2000:d::a6]:41887 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:47084 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
> Date: Wed, 5 Jun 2013 07:40:52 -0700 > Subject: I just wrote my first Python program a guessing game and it exits with an error I get this. > From: armandomontesdeocaiii@gmail.com > To: python-list@python.org > > Traceback (most recent call last): > File "Guessing_Game.py", line 32, in <module> > input (enter) > File "<string>", line 0 > ^ > SyntaxError: unexpected EOF while parsing > ------------------ > (program exited with code: 1) > This is the only place a string is used: > else: > print "Sorry you loose the game." > computernum = str(computernum) > print " The computers number was!"+ computernum > input (enter) Did you declared an 'enter' variable? Because input() expects a string. > sys.exit(0) > Thank You, > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 07:40 -0700
RE: I just wrote my first Python program a guessing game and it exits with an error I get this. Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-05 18:07 +0300
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Alister <alister.ware@ntlworld.com> - 2013-06-05 15:11 +0000
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:14 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Tim Golden <mail@timgolden.me.uk> - 2013-06-05 16:23 +0100
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-06-05 10:38 -0500
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:16 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:18 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 16:25 +0100
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:35 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-06-05 11:15 -0500
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 12:59 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-06-05 16:18 -0400
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Chris Angelico <rosuav@gmail.com> - 2013-06-06 06:23 +1000
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 16:32 -0400
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 12:30 -0400
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 08:56 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 09:01 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 14:02 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-05 15:51 -0700
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-06 00:32 +0100
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-05 19:45 -0400
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-06 02:08 +0000
Re: I just wrote my first Python program a guessing game and it exits with an error I get this. Armando Montes De Oca <armandomontesdeocaiii@gmail.com> - 2013-06-06 07:49 -0700
csiph-web