Jan-02-2018, 09:21 PM
IDLE is open source and largely (entirely?) written in Python. If you want to dive into it, you can definitely find a way to do it. But generally, it sounds like you want things from IDLE that it is not built to support.
You haven't elaborated on why IDLE is preferable over command line. Perhaps if you did, we could pose an alternative. For example, you might use pythonw.exe instead of python.exe and write your own GUI code to accomplish whatever IDLE is doing for you. You also might be able to use a batch file instead of the direct Python script to accommodate any undesirable behavior from command line.
You haven't elaborated on why IDLE is preferable over command line. Perhaps if you did, we could pose an alternative. For example, you might use pythonw.exe instead of python.exe and write your own GUI code to accomplish whatever IDLE is doing for you. You also might be able to use a batch file instead of the direct Python script to accommodate any undesirable behavior from command line.