Setup the Run Command
Assuming that you have Komodo working correctly with Python, you will want to setup two run commands in the Toolbox. One will execute non-interactive programs in the Command Output panel. The other run command will execute interactive programs in a new command window. An interactive program has an input or raw_input statement. Most of the programs in the tutorial are not interactive. However, you can run all of your programs in an interactive window if you want to.
To set up a Toolbox run command for interactive programs, select Tools --> Run Command... Set up the popup window as shown and then click the run button. Make sure you set "Run in: New Console".

Do the whole process again, only this time change the "Run in" panel to "Command Output Tab." Again, click the run button after you set up the window. This time check the box to save this setup as the default (at the bottom). Do not run interactive programs in the Command Output Tab. They will not behave as you expect them to.
Now that you have two run commands in the Toolbox that appear to be identical, you will need to mark the difference. There are two options. One is to rename the commands and the other is to change the icons. I do both.
Right click on the Toolbox run command that you want to change and select Rename from the popup menu. I changed the first to read "Cmd Output". Change it to whatever you like and accept it with the OK button. Make a similar change to the other run command. I changed mine to "Popup Window."
Now change the icons. Right click on the Toolbox run command that you want to change and select Properties from the popup menu. Click the "Change Icon..." button in the popup and pick a picture from the popup list of icons.
![]()
In the picture, above, I have changed the icons on both run commands. To me, the first on looks like the Command Output panel and the second reminds me of a popup window.
Finally, let's change the keyboard command used to run a Python program. We are going to bind a keyboard combination to the run command. Select Properties again and select the "Key Binding" tab (shown in the previous picture). The tab is shown in the next picture. Type Ctrl+R in the text entry box. This means hold down the Control key while typing an R. Then click the Add button. From now on, typing the Ctrl+R key sequence is equivalent to double-clicking on the the run command in the toolbox.
