how do I launch a python script within the IDLE python shell from the command line?

basically I want to use Notepad++ as my editor, but when I press F5 I want my script to run in the IDLE python shell (NOT in a cmd window).

If I do

then that opens up the IDLE editor as well as the shell, and I still have to press F5 in the editor

If I do

then that runs my script but in a cmd window


Here it is. -c
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.