Connect live python session

Hi,

I was wondering if there is a way to connect a live interactive Python session to the editor, just like you can use the built-in Javascript console. This makes it really easy to develop userscripts in Javacript and I was trying to do the same in Python.

Thanks,

This is often called a REPL (Read Eval Print Loop) and you can access it from the bottom left of Komodo IDE:

Hi Nathan,

What about Komodo Edit?

@jpcaram, you’ll probably want to install the Komodo Extension Developer which comes with a Python REPL that is running in the Komodo run time environment I believe.

Ctrl+shift+O(commando) > Packages > Addons: Komodo Extension Developer

Exactly what I was looking for.
Thanks

Note that’s not it’s intended purpose. You are executing code on the Komodo runtime. I would be cautious about what you are testing as you may affect the stability of Komodo.

Edit: Carey pointed out you are trying to develop Komodo userscripts, so in fact I’m wrong here - that IS the intended purpose for your particular use-case.