Enhance the Python build window interface.
If you apply the Python command line option -i (Python options interpreter arguments) and direct the output to the build window, the script will execute correctly, display output in the correct sequence and prompt appropriately for input (raw_input). After the script terminates, the Python interpreter is left in input mode in the build window and this allows the final state of the program to be evaluated etc.
If the Execute command is repeated immediately, Python reports errors as you would expect (setenv for example). The Python interpreter in the build window is terminated in the usual way - quit() - and any subsequent Execute now works.
If Execute specifies an X terminal, the script executes normally and is also left in Python interpreter input mode at the end. It must be manually closed (quit()). If the Execute is repeated while the first X terminal is active, an independent X terminal is forked.
I would like to have an additional build option or macro that would allow me to highlight a block of code in the edit window and pass that directly to the Python interpreter active in the build window. Rerun the __main__ function say. Or rerun the entire script. This capability would provide similar functionality to Slime in Lisp or IDLE in Python. One minor issue is focus is left in the edit window and not the build window. All of this, of course, does not apply if an external X terminal was specified.
A few remarks. Specifying the command line option -i sets both Execute and Debug. Debug seems to work - I haven't tested in detail - but this option may not be appropriate.
On a separate tack, the X terminal option seems like an anomaly from the X version of OS X Slickedit. I would much prefer to use iTerm2 or if that is not possible the standard terminal. I did some testing and both iTerm2 and Terminal windows were opened, but the Python script was orphaned (ps -ef | grep python) and no output was generated.
I tested this capability on the beta-6 (version 17.0.0.5) of Slickedit for OS/X (Lion 10.7.4).
Cheers, Chris Sundstrom Sydney Australia