python-2.7komodoedit

How can I run the first Python program in Komodo Edit 8.5?


I'm learning Python for the first time and I use Komodo Edit 8.5 to practice Python.

But I don't know how to run a program in Komodo Edit.

How can I do that?

Enter image description here


Solution

  • There is no debugging feature in Komodo Edit but you can just run the current file by creating a Run Command:

    1. go to Toolbox -> Add -> New Command...
    2. in the top field enter the name 'Run Python file'
    3. in the 'Command' field enter this text:%(python) %F
    4. (optional) click on the 'Key Binding' tab and assign a key command to this command
    5. click Ok.

    You should now have a new Run Command in your toolbox called 'Run Python file'; when you double-click on it the command should run the current Python script open in the editor and display the output in the Command Output pane.

    For more on Run Commands:

    http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-run.html#run...