Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94840 > unrolled thread
| Started by | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| First post | 2015-08-01 12:22 -0400 |
| Last post | 2015-08-01 12:22 -0400 |
| 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.
Re: I'm a newbie and I'm stumped... Joel Goldstick <joel.goldstick@gmail.com> - 2015-08-01 12:22 -0400
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2015-08-01 12:22 -0400 |
| Subject | Re: I'm a newbie and I'm stumped... |
| Message-ID | <mailman.1132.1438446173.3674.python-list@python.org> |
On Thu, Jul 30, 2015 at 9:22 PM, Dwight GoldWinde <Dwight@goldwinde.com> wrote:
> Please help.
>
> I am running Python 3.4 on my Mac mini, OS X 10.10.2, using Coderunner 2 as
> my editor.
>
> Here’s the code:
> #!/usr/bin/env python3
> word = (input('Enter a word ‘))
>
> When running this inside of Coderunner, I get the follow error, after
> entering the word ‘serendipity’:
>
> Enter a word serendipity
>
> Traceback (most recent call last):
>
> File "test short.py", line 2, in <module>
>
> word = (input('Enter a word '))
>
> File "<string>", line 1, in <module>
>
> NameError: name 'serendipity' is not defined
>
>
The error you are getting is the error you would get if you were using
python 2.x. So, are you sure you are running 3.4? Can you go to a
shell and run it from command line?
also, use plain text to send mail
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com
Back to top | Article view | comp.lang.python
csiph-web