[IPython-dev] ACE Editor Magic for IPython Notebook
Mon Nov 19 15:13:15 CST 2012
Le 19 nov. 2012 à 17:50, Carl Smith a écrit :
>> That would be a start .
>> I'm don't know how your app works, if it is a different server or not…
> It's just a JS editor, so you'd ordinarily implement your own server
> and communication, normally using AJAX requests.
One dirty way would be to use the '%%file' magic to write on disk.
We could probably hook on user_expressions to get the file content.
The other question is :
Do we want to modify file on server computer or on kernel computer (that can be different)
Kernel does IMHO make more sense.
> I could have IPython start up a second server on the same machine, and
> then open a new tab, pointing it to the second server. This would be
> easy to do, security aside, but misses the opportunity to work towards
> a more elegant, general solution for all Notebook Panel Apps, which is
> what I'm currently calling them.
> One important thing to consider early on is how to create a panel app
> that can share a kernel with the Notebook. Some apps, like a shell,
> would need that.
> P.S. I drafted an IPEP for this, IPEP 7, updated the wiki and sent a
> message on both lists.
> IPython-dev mailing list
More information about the IPython-dev