Use UltraEdit run Python

cn.popeye zhangchao19 at hotmail.com
Fri Feb 24 00:28:06 EST 2006


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\test\")

%N        fileName only ("test")

%E        Extension only (".py")

%P%N%E is equal to %F which is ("C:\project\test\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





More information about the Python-list mailing list