Python shell

As a final feature, BlackAdder offers a Python shell in a separate window. This is mainly useful for quickly trying out certain ideas. You activate it by choosing Python Interpreter in the Window menu.

Python shell window.

BlackAdder doesn't have an output window, but if you run your scripts in the debugger, all output will appear in the Python shell window.

Even more interestingly, your debugged script runs in the same interpreter as this window. This means that if you are debugging a script, you can alter the value of any variable from the shell window, just by assigning it. You can even call class methods or other functions.