On Thu, Jul 30, 2015 at 9:22 PM, Dwight GoldWinde <dwi...@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 -- https://mail.python.org/mailman/listinfo/python-list