I’m loving Komodo. I’ve just discovered it, and I’m playing with the free “Edit” only version, not the full IDE. I’ve set up a couple of macros/commands to make coding in python easier, one which just executes the selection using python, and another which saves the current file, and then executes that.
This should make it possible to replace most of what I do that requires a seperate window, however, the fine-grained ability to $ python -i Source.py and then type in commands is missing. I might need to try to build an extension that does that - allows for active manipulation of python code within the defined namespaces.
Oh, and it works with just about every language, and on all major platforms. Bonus.
Hi, I’m one of the developers on Komodo. You should be able to get the “python -i Source.py” functionality that you are looking for with a run command in your toolbox that looks like this:
cmd: %(python) -u -i %F
run in: Command Output Tab
The in the “Command Output” tab in the bottom pane you should be able to interact with the Python interpreter.
“-u” is used to force Python to not buffer output (i.e. so that it is flushed to Komodo so it can be displayed right away).
The timing of stdout vs. stderr output isn’t perfect in the output tab, but it is pretty good for basic interactive shell stuff.
Cheers,
Trent
11 hours after the fact.
Aha! I didn’t have the
-uflag, which was why it wasn’t working properly.Thanks Trent!
(Personal service, I love it :))
20 hours, 2 minutes after the fact.
Now all I need to figure out is how to send an EOF to the interpreter that is running. Komodo isn’t quite as nice under Windows as it is under OSX, but it’s still pretty good.
2 days after the fact.