qtconsole
qtconsole copied to clipboard
Deprecated imports and non-working examples for embedded Qt console
Hi,
when trying out the examples mentioned in the documentation Embedding the QtConsole in a Qt application, I noticed that the embedded IPython kernel example uses deprecated or defunct import locations: (https://github.com/ipython/ipykernel/blob/master/examples/embedding/ipkernel_qtapp.py) I could not figure out how to make that example work.
What did found working instead was using the IPython.embed_kernel() method as described in (closed) issue #197. For that method however, the documentation is very sparse, i.e. where to specify the connection file for the embedded kernel I had to find out from the closed issue example code.
The embedded console is maintained by the community, so it's up to their users to keep it updated and well documented.
Pull requests are welcome to contribute to that, thanks!