Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21216
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Is this the right location to launch IDLE? |
| Date | 2012-03-04 22:33 -0500 |
| Organization | > Bestiaria Support Staff < |
| References | <1902734.303.1330902461168.JavaMail.geo-discussion-forums@yncd8> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.395.1330918401.3037.python-list@python.org> (permalink) |
On Sun, 4 Mar 2012 15:07:41 -0800 (PST), John Salerno
<johnjsal@gmail.com> declaimed the following in
gmane.comp.python.general:
> I'm trying to get Notepad++ to launch IDLE and run the currently open file in IDLE, but all my attempts have failed so far. I'm wondering, am I even using the IDLE path correctly? I'm using this:
>
> "C:\Python32\Lib\idlelib\idle.pyw" "$(FULL_CURRENT_PATH)"
>
> (That last part puts in the full path to the open file.)
>
> Is this not the proper way to launch IDLE with an argument? It actually does open up IDLE, but the file doesn't seem to have been loaded, because when I try to use variables or functions from the file, IDLE acts as if it doesn't know what I'm referring to.
>
What happens if you specify
"C:\Python32\pythonw.exe" "C:\....\idle.pyw" "$...."
I seem to recall that Windows has problems passing command line
arguments when it goes through two layers of invocation (ie: your file
is an argument to idle.pyw, the file associations make idle.pyw an
argument to some other program instead.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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