A PygmentsHighlighter that understands and ignores prompts.
Highlight a block of text. Reimplemented to highlight selectively.
Reimplemented to temporarily enable highlighting if disabled.
Reimplemented to highlight selectively.
A Qt frontend for a generic Python kernel.
Appends text to the output stream.
Clears the current line of output.
Copy the currently selected text to the clipboard, removing prompts.
Copy the currently selected text to the clipboard without attempting to remove prompts or otherwise alter the text.
Attempts to execute file with ‘path’. If ‘hidden’, no output is shown.
If a clearoutput is pending, execute it.
Attempts to interrupt the running kernel.
Also unsets _reading flag, to avoid runtime errors if raw_input is called again.
Resets the widget to its initial state if clear parameter is True, otherwise prints a visual indication of the fact that the kernel restarted, but does not clear the traces from previous usage of the kernel before it was restarted. With clear=True, it is similar to %clear, but also re-writes the banner and aborts execution if necessary.
Attempts to restart the running kernel.