Dear Mattia,
I am also very interested in this! I develop a GUI interface that embeds a pyqtconsole. FYI, here is my projects
At least from the screenshots you can see what I am trying to do. Form the GUI I am able to push variables to the Jyputer terminal via
e.g. (for more details see my code in the github):
from Jupyter_emb import ConsoleWidget_embed
import numpy as np
import RVmod as rv
fit = rv.signalfit()
class Exo_striker(QtWidgets.QMainWindow, Ui_MainWindow):
###################### Console #############################
self.console_widget = ConsoleWidget_embed(font_size = 9)
# add the console widget to the user interface
# push some variables to the console
self.console_widget.push_vars({"rv": rv,
"np": np,
"fit": fit,
})
Now what I want is to push variables and functions from the qtconsole to the main GUI. I guess you Mattia want something similar?
I hope someone can help!