Maybe I am not getting you right, but try out PyScripter. It has a python interpreter which you can use alongside the actual code editor, it goes hand in hand with the actual code execution.
In the below picture, you can see the interpreter at the bottom.