chemebabak
Technical User
Re: Python 3.6.0 and Notepad++
From the Notepad++ run menu I run:
"C:\Program Files (x86)\Python36-32\Lib\idlelib\idle.bat" -r "$(FULL_CURRENT_PATH)"
Which opens the Python 3.6.0 Shell and runs the Python code. However, it does not close any open Python Shell windows. Neither does it save the file prior to opening the shell.
I would like to:
1. Save my current *.py file that I am opening in N++,
2. Close any open Python Shell windows,
3. run: "C:\Program Files (x86)\Python36-32\Lib\idlelib\idle.bat" -r "$(FULL_CURRENT_PATH)"
How can I modify the code to close any open Python Shell windows?
By the way, what is "-r" after "\idle.bat"?
From the Notepad++ run menu I run:
"C:\Program Files (x86)\Python36-32\Lib\idlelib\idle.bat" -r "$(FULL_CURRENT_PATH)"
Which opens the Python 3.6.0 Shell and runs the Python code. However, it does not close any open Python Shell windows. Neither does it save the file prior to opening the shell.
I would like to:
1. Save my current *.py file that I am opening in N++,
2. Close any open Python Shell windows,
3. run: "C:\Program Files (x86)\Python36-32\Lib\idlelib\idle.bat" -r "$(FULL_CURRENT_PATH)"
How can I modify the code to close any open Python Shell windows?
By the way, what is "-r" after "\idle.bat"?