Page 1 of 1

Integrating Python with Textpad

Posted: Wed Mar 03, 2004 4:12 am
by Hemal
How do I integrate Python with Textpad Any Tips :idea:

Posted: Wed Mar 03, 2004 6:59 am
by Bob Hansen
Have you tried to do a search yet? 57 postings returned on "python":
http://www.textpad.com/forum/search.php?mode=results

Posted: Wed Mar 03, 2004 11:00 am
by Hemal
This is what I tried
I configured a tool in Textpad
Command: D:\Program Files\Python\pythonw.exe
Parameters: $File
Initial folder: $FileDir

It runs the active file as script but the check box for capturing output is greyed out :cry: Is there any way I can capture the output ??

Posted: Wed Mar 03, 2004 2:53 pm
by talleyrand
Try using python.exe instead of pythonw.exe. Ought to allow you to capture output.

Capture Python output

Posted: Sun Oct 09, 2005 4:40 pm
by Hefewiesen
It doesn't seem to work. Ran this trivial program. TP is configured to run
python.exe.

a = 'dead';
b = 'parrot';
c = 'sketch'

print a, b, c

All I got was

Tool completed successfully

What's up. If I don't capture output it works just fine

Posted: Thu Dec 08, 2011 3:56 am
by BonjovaX
It works on Python 2.7 8)
Under preferences:
use python.exe instead of pythonw.exe
Uncheck all then OK.

100% Works