selinap.com

To leave furtively and stealthily.

Home » Python

Executing Python Code Within Komodo Edit

July 8th, 2008

Komodo Edit is a good free editor for Python development. However, there is no debugging feature in Komodo Edit. Therefore, it is a cumbersome process to execute Python scripts. Fortunately, there is a feature called Run command to satisfy this job.

To make use of the Run command feature to execute Python code, you can follow these steps:

  1. click Toolbox > Add > New Command.
  2. type “Run Python file” in the top field.
  3. enter
    %(python) “%F”
    in the command field.
  4. Click on the “Key Binding” tab and you can set the keyboard shortcut key (optional). I personally like the F5 key.
  5. Click OK.

komodo

Now, you can easily execute the Python script by pressing “F5″, or by double clicking the “Run Python file” in your toolbox pane, which is usually located at the right. The output will be displayed in the Command output pane at the bottom.

For more information on the “Run Command”:

http://aspn.activestate.com/ASPN/docs/Komodo/4.4/run.html

Related Articles:

Popular Articles:

Spread/Promote this article.

Digg | Del.icio.us | Stumble | Y! MyWeb | Y! Buzz | Fave It! | Reddit

Subscribe for free.

 Subscribe to Selinap.com feed right now!

 Get Updates by Email

Tags: ,

3 Responses to “Executing Python Code Within Komodo Edit”

  1. KNizam says:

    satu mende pun aku tak paham pasal ular sawa neh. hehe

  2. zamz says:

    apa phyton file nih hehe

  3. selinap.com says:

    What is Python > http://python.org/
    Pastinya bukan ular sawa.
    ;)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">


© Copyright 2008 - 2009 selinap.com
Entries (RSS) and Comments (RSS).