Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python3': 0.05; 'cc:addr :python-list': 0.09; 'editor.': 0.09; 'nameerror:': 0.09; 'python': 0.10; 'thu,': 0.15; '"test': 0.16; "'))": 0.16; 'wrote:': 0.16; 'shell': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '"",': 0.22; 'defined': 0.23; 'help.': 0.23; '(most': 0.24; 'plain': 0.24; 'header:In-Reply-To:1': 0.24; 'command': 0.26; 'error': 0.27; 'skip:# 10': 0.27; 'message- id:@mail.gmail.com': 0.27; "skip:' 10": 0.28; 'code:': 0.29; 'url:mailman': 0.30; 'getting': 0.33; 'run': 0.33; 'url:python': 0.33; 'traceback': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'running': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'text': 0.35; 'url:org': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'mac': 0.37; 'sure': 0.39; 'url:mail': 0.40; '30,': 0.63; 'skip:\xe2 10': 0.70; 'jul': 0.72; '3.4': 0.84; 'to:none': 0.91; '8bit%:33': 0.91; 'joel': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=kLnAJBESGOIRDRRO51hfcUk0jPkeXx/xWBKSk56DDJc=; b=adOE79GY5grIf+qdW9UPFmQ+BTmPh5U8F0UJjHs5i4YSEfSiGjru618mIBNtgI0fGt Ol9vQqvxZFtYFgHMtYGeHYshQv3+dmQl2DKST3jxfBDorhHIc9mZ+u/DPWnWvpb7FR25 VLUpPKA1VXWfE3Z4kTtB0+mqGUsmTJwbIDY+aU+2Vp0enJoEBRzgh0wDSaYw9cM1g2NR n0y0EIDSJPZMNlXczW02YZYncuICgX2qOIbuOTkTMMqf8z4eCni19FQzd2AiMbhMymBL Dqt2DhPiQUEM5piEV7cqplILG7To8F2DjTd6gN60dZ/vE2lHMZ0xn3MeQt3ztGhjr2BY +DhA== MIME-Version: 1.0 X-Received: by 10.107.47.152 with SMTP id v24mr12725110iov.180.1438446170815; Sat, 01 Aug 2015 09:22:50 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 Aug 2015 12:22:50 -0400 Subject: Re: I'm a newbie and I'm stumped... From: Joel Goldstick Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 46 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438446173 news.xs4all.nl 2913 [2001:888:2000:d::a6]:47102 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94840 On Thu, Jul 30, 2015 at 9:22 PM, Dwight GoldWinde wr= ote: > Please help. > > I am running Python 3.4 on my Mac mini, OS X 10.10.2, using Coderunner 2 = as > my editor. > > Here=E2=80=99s the code: > #!/usr/bin/env python3 > word =3D (input('Enter a word =E2=80=98)) > > When running this inside of Coderunner, I get the follow error, after > entering the word =E2=80=98serendipity=E2=80=99: > > Enter a word serendipity > > Traceback (most recent call last): > > File "test short.py", line 2, in > > word =3D (input('Enter a word ')) > > File "", line 1, in > > 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 > --=20 Joel Goldstick http://joelgoldstick.com