Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:IDLE': 0.03; 'encoded': 0.05; 'suppress': 0.07; '>>>>': 0.09; 'utf-8': 0.09; 'worked.': 0.09; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cheers,': 0.20; '(most': 0.21; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'traceback': 0.24; 'cc:2**0': 0.26; 'tried': 0.27; 'skip:" 30': 0.28; 'script': 0.28; 'message- id:@mail.gmail.com': 0.29; 'unicode': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'sun,': 0.30; 'chris': 0.30; 'error': 0.30; 'subject:?': 0.31; 'there': 0.33; 'it.': 0.33; 'character': 0.34; 'setting': 0.34; 'last):': 0.34; 'problem.': 0.35; 'received:209.85.214': 0.36; 'created': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'some': 0.38; 'should': 0.38; 'recommended': 0.39; 'received:209': 0.39; 'john': 0.61; 'header:Received:6': 0.61; '***': 0.73; 'skip:\xc2 10': 0.74; 'subject:this': 0.74; '8bit%:62': 0.77; 'bom': 0.84; 'mark)': 0.84; 'sender:addr:chris': 0.84; 'subject:launch': 0.84 Received-SPF: pass (google.com: domain of chris@rebertia.com designates 10.205.117.15 as permitted sender) client-ip=10.205.117.15; Authentication-Results: mr.google.com; spf=pass (google.com: domain of chris@rebertia.com designates 10.205.117.15 as permitted sender) smtp.mail=chris@rebertia.com; dkim=pass header.i=chris@rebertia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=k9ld5YvXDBU7QiFw8pLIlJDdmDo1dZl/ktMUAbVOGas=; b=C4a2InZPmmY1NnEqB1AUV2kymdw1EMCyPFN9Qsyl4IKjV+/0WcxBpvQVPAKYYkaPqp 5VY1+G1LwY7yj23KaEfVmQdLtM2V55zIuZJTFksBfMsuw+jCHl07XI92Ykjq29D3h2SH D3AmHadOFvK5qeOoKZDGMLYdJa/rrLc3moWnY= MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: <676893.2385.1330919478888.JavaMail.geo-discussion-forums@vbux23> References: <1902734.303.1330902461168.JavaMail.geo-discussion-forums@yncd8> <676893.2385.1330919478888.JavaMail.geo-discussion-forums@vbux23> Date: Sun, 4 Mar 2012 20:07:19 -0800 X-Google-Sender-Auth: 7DqZO4EdyjiJKgL1WyeBJLxE4r0 Subject: Re: Is this the right location to launch IDLE? From: Chris Rebert To: John Salerno Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmfjrO2c4Lpuez5yjKuW9KcK6uMjMXMix8tc+U82QrTVP5O85CByA/KBg9gyIeCOftv+Kq5 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330920442 news.xs4all.nl 6946 [2001:888:2000:d::a6]:41531 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21218 On Sun, Mar 4, 2012 at 7:51 PM, John Salerno wrote: > Unfortunately neither method worked. Adding "-r" to the path created this= error when I tried it: > >>>> > *** Error in script or command! > > Traceback (most recent call last): > =C2=A0File "C:\Users\John\Documents\Python Scripts\chess_pieces.py", line= 1 > =C2=A0 =C2=A0=C3=AF=C2=BB=C2=BFclass ChessPiece: That would be a Notepad++ problem. That "=C3=AF=C2=BB=C2=BF" gibberish is w= hat you get when a Unicode BOM (Byte Order Mark) character is encoded as UTF-8 but decoded as ISO-8859-1 or CP-1252. A BOM is not recommended for UTF-8 text; there should be some setting in Notepad++ to suppress it. Cheers, Chris