Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21217

Re: Is this the right location to launch IDLE?

From John Salerno <johnjsal@gmail.com>
Newsgroups comp.lang.python
Subject Re: Is this the right location to launch IDLE?
Date 2012-03-04 19:51 -0800
Organization http://groups.google.com
Message-ID <676893.2385.1330919478888.JavaMail.geo-discussion-forums@vbux23> (permalink)
References <1902734.303.1330902461168.JavaMail.geo-discussion-forums@yncd8>

Show all headers | View raw


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:
              ^
SyntaxError: invalid character in identifier
>>> 

Although there really is no error in the file, and running it directly from within IDLE doesn't cause this problem.

Adding the "pythonw.exe" part to the beginning also gave this error, but when I remove the "-r", then it just opens IDLE as normal, but without having loaded the Notepad++ file.

I just know there has to be a way to do this, but perhaps it's more of an NP++ problem. I posted on their forums but no one responded. I thought I might see if the problem lies with calling IDLE, but apparently it's a Windows/NP++ thing...

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is this the right location to launch IDLE? John Salerno <johnjsal@gmail.com> - 2012-03-04 15:07 -0800
  Re: Is this the right location to launch IDLE? Chris Rebert <clp2@rebertia.com> - 2012-03-04 18:53 -0800
  Re: Is this the right location to launch IDLE? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-03-04 22:33 -0500
  Re: Is this the right location to launch IDLE? John Salerno <johnjsal@gmail.com> - 2012-03-04 19:51 -0800
    Re: Is this the right location to launch IDLE? Chris Rebert <clp2@rebertia.com> - 2012-03-04 20:07 -0800
      Re: Is this the right location to launch IDLE? John Salerno <johnjsal@gmail.com> - 2012-03-04 21:00 -0800
      Re: Is this the right location to launch IDLE? John Salerno <johnjsal@gmail.com> - 2012-03-04 21:00 -0800

csiph-web