Hi All, I am trying to connect (from Spyder) to a python interpreter that runs inside another program. Ideally, the embedded python would look like a normal console in Spyder, with readline (history, completion), calltips and variable inspection. I cannot start the program that contains the embedded python from spyder, but I can change all aspects of the embedded python to make this work, including listening to sockets etc. The other program can be assumed to run on the same machine.
I have browsed the spyder source code a bit and it seems that this is not directly possible and I'll have to do some reworking of the code in the spyderlib/ widgets/ externalshell directory and I expect this to be a fair bit of work. I have three questions. - has anybody done any work in this direction before? - is this a major rewrite or something that could be added on easily? - I see that in the external python case, the spawned python is set up via sitecustomize.py and startup.py. In how far is this code responsible for readline, calltips and variable inspection? Thanks in advance, Dirk -- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
