Use UltraEdit run Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cn.popeye

    #1

    Use UltraEdit run Python

    Use UltraEdit run Python

    Run UltraEdit

    Menu :Advanced menu/Tool Configuration command

    Command Line: python %n%e

    Working Directory:%p

    Menu Item Name: run python

    checked "Save Active File"

    Command Output (DOS Commands ONLY)

    checked " Capture the output to a list box "

    click button "insert"

    Action:
    %P Path only ("C:\project\te st\")

    %N fileName only ("test")

    %E Extension only (".py")

    %P%N%E is equal to %F which is ("C:\project\te st\test.py") in the example
    above.


    ------test.py-------
    #Welcome Messages! This is test!
    print 'welcome to Python world!!! '


    run *.py

    Menu: Advanced menu/run python

    --
    cn.popeey


Working...