I'm currently using Notepad++ to edit my python script, and I would like to be able to use a shortcut to make my script run in IDLE. Currently, I have:
cd C:\Python32
pythonw.exe Lib\idlelib\idle.pyw -c "$(FULL_CURRENT_PATH)"
When I try to run it, I get a Syntax error on the :
in C:\Users\...
However, if I omit -c
, IDLE properly opens up the file in it's editor and then I am able to run it.
I feel like I'm missing something simple, can anyone help me out?
idle.pyw -c
work with a full path. – ValetaNppExec
, correct? Please update the tags (and the question) to clarify this. Also. Just to confirm that it's not Python, try the IDLE command from the cmd.exe prompt to confirm that it works from the Windows command-line. – Bedstead