Is this the right location to launch IDLE?

Chris Rebert clp2 at rebertia.com
Sun Mar 4 23:07:19 EST 2012


On Sun, Mar 4, 2012 at 7:51 PM, John Salerno <johnjsal at gmail.com> 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):
>  File "C:\Users\John\Documents\Python Scripts\chess_pieces.py", line 1
>    ï»¿class ChessPiece:

That would be a Notepad++ problem. That "" gibberish is what 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



More information about the Python-list mailing list