[IPython-User] saving qtconsole as html via a command (i.e not right-clicking)
Fri Sep 2 11:56:51 CDT 2011
I'm new to iPython so please excuse if these suggestions don't make
The kernel doesn't know about qtconsole, but don't magic commands?
If I type %guiref it seems to know. So maybe it could be implemented
at that level.
Also, you can set up logging, which, combined with replay, could
have similar results. You could also combine this with a wrapper
above the iPython level at the OS/window manager level (ex
AppleScript on OS X) which could automate creating HTML or PDFs from
iPython session logs.
On Fri, 2 Sep 2011, Mark Andrews wrote:
> Thomas - thanks for the advice. Pity, though. I would like to
> automatically save all my sessions upon exiting. -m
> On Fri, Sep 2, 2011 at 3:58 PM, Thomas Kluyver <email@example.com> wrote:
>> On 29 August 2011 12:40, Mark Andrews <firstname.lastname@example.org> wrote:
>>> I've been using the qtconsole with inline graphics. At the end
>>> of my session, I have been saving it as html by right clicking
>>> the console. Is there any way to save as html via a command
>>> (something like this made-up example: " In :
>>> save.qtconsole("mysession.html",type="html") ")?
>> At present, no. It might be possible to add such a feature, but
>> it's not as trivial as it might sound, because commands you type
>> in are executed in the kernel, which doesn't 'know' the details
>> of the Qt console.
> IPython-User mailing list
More information about the IPython-User