pythonipythonqtconsole

Copy code from IPython without leading triple dots


I'm using IPython Qt Console and when I copy code FROM Ipython it comes out like that:

    class notathing(object):
        ...:
        ...:     def __init__(self):
        ...:         pass
        ...:

Is there any way to copy them without those leading triple dots and doublecolon?

P.S. I tried both Copy and Copy Raw Text in context menu and it's still the same. OS: Debian Linux 7.2 (KDE).


Solution

  • This QTconsole copy regression has been fixed, see https://github.com/ipython/ipython/issues/3206 - I can confirm that the desired behavior is again present in the QtConsole in the Canopy 1.2 GUI and, I suspect, in the ipython egg installable by free users from the Enthought egg repo.