Komodo Edit is a good editor for many programming language. However, since it is free as compared to its brother Komodo IDE, there is lack of debugging function. But, Macro and run command do exist though. You can make use of those feature to save and debug your script with a click of a shortcut key. Step 1: Create a new macro.

Step 2: Enter the macro script below.
if (komodo.view) { komodo.view.setFocus() }; komodo.doCommand('cmd_save') ko.run.runEncodedCommand(window, '%(python) \"%F\" {\'cwd\': u\'%D\'}');
You are free to change %(python) to %(perl), provided that perl is installed, and the environment path is set.

Step 5: Set a key binding to the new created macro.

Now you just need to press the ‘F5′ key inorder to save and run a python script.
Related Articles:
Popular Articles:
- Backup folders with 7-zip command line
- Insert figures to LaTeX
- Create LaTeX table easily
- Add personal signature to Lotus Notes 7
- Windows XP Service Pack 3 Final release download
Spread/Promote this article.
Digg | Del.icio.us | Stumble | Y! MyWeb | Y! Buzz | Fave It! | RedditSubscribe for free.
Subscribe to Selinap.com feed right now!
Tags: Komodo Edit, Python
