Questions tagged [qtconsole]

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

More info: A Qt Console for IPython

102 questions
33
votes
5 answers

printing bold, colored, etc., text in ipython qtconsole

I'm trying to get text to display as bold, or in colors, or possibly in italics, in ipython's qtconsole. I found this link: How do I print bold text in Python?, and used the first and second answers, but in qtconsole, only the underlining option…
22
votes
5 answers

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…
LetMeSOThat4U
  • 5,125
  • 4
  • 33
  • 76
14
votes
2 answers

How do I embed an IPython Interpreter into an application running in an IPython Qt Console

There are a few topics on this, but none with a satisfactory answer. I have a python application running in an IPython qt console http://ipython.org/ipython-doc/dev/interactive/qtconsole.html When I encounter an error, I'd like to be able to…
Erotemic
  • 3,688
  • 4
  • 28
  • 59
11
votes
1 answer

qtconsole not rendering pandas dataframes as html notebook_repr_html option

I recently upgraded my version of pandas. I have the latest stable version installed now: pd.__version__ Out[5]: '0.10.1' prior to this upgrade, this is how dataframes were displayed in the qtconsole shell (this isn't my screenshot but simply one i…
hernamesbarbara
  • 6,004
  • 3
  • 23
  • 25
11
votes
1 answer

How to increase the ipython qtconsole scrollback buffer limit

When I load ipython with any one of: ipython qtconsole ipython qtconsole --pylab ipython qtconsole --pylab inline The output buffer only holds the last 500 lines. To see this run: for x in range(0, 501): ...: print x Is there a…
Philip
  • 223
  • 2
  • 9
10
votes
10 answers

Repeated "Kernel died, restarting" forever

When I attempt to run $ jupyter qtconsole The console shows up, with the message Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died,…
Evgeni Sergeev
  • 18,558
  • 15
  • 94
  • 112
8
votes
1 answer

how to launch recent Jupyter QtConsole on Windows without a console window

This older question appears to be out of date. It used to be (based on reading git repos and the qtconsole issue tracker) you could launch the Jupyter QtConsole without a console window running the background with: pythonw -m jupyter…
Vince W.
  • 2,888
  • 1
  • 17
  • 51
8
votes
1 answer

Jupyter: magic %qtconsole doesn't work

I am trying to use the magic %qtconsole from jupyter notebook. I am working on my local connected to a remote server. WHen typing %qtconsole and shift-enter in a cell of the notebook, nothing happens. No error message, but not qt console…
Radar
  • 805
  • 1
  • 9
  • 18
8
votes
1 answer

Anaconda ipython qtconsole launcher

I am using Kubuntu 16.04 with kde 5.6.4. I have installed anaconda python 3.5 which includes ipython qtconsole. To launch ipython qtconsole, I have to type ipython qtconsole in terminal. Is there anyway I can create a launcher for it? I know there a…
Abhishek Bhatia
  • 7,916
  • 14
  • 73
  • 134
8
votes
1 answer

Change the color of Latex output in IPython (Jupyter)

I am using ipython qtconsole (today it is called jupyter console). When printing latex (with sympy or any other way), the resulting output in a nice latex in black. Is there a way to change the color to white because if the background of the…
tal
  • 764
  • 5
  • 17
8
votes
4 answers

Setting up IPython Qtconsole with PyQt5

On an OSX 10.9, I have Qt5 installed. Later I installed Ipython, sip and PyQt5 all build from source. Now here is the problem: when I try to run ipython qtconsole, I have a bunch of errors related to the files in this directory (and its…
Pouya
  • 1,187
  • 2
  • 17
  • 40
8
votes
3 answers

Logging module does not print in IPython

The following code does print 'I want this to print' in 'ipython qtconsole', however it does not print in plain IPython. import logging import logging.handlers log = logging.getLogger() f = logging.Formatter("%(asctime)s - %(module)s. …
HeinzKurt
  • 572
  • 5
  • 17
7
votes
3 answers

automatically run %matplotlib inline in jupyter qtconsole

Is there a way to change the config file to make jupyter qtconsole run the following command on startup?: %matplotlib inline
Alexander
  • 87,529
  • 23
  • 162
  • 169
7
votes
1 answer

Start ipython qtconsole as interactive interpreter after script execution

I have ipython with qtconsole installed and can start it via ipython qtconsole. I can also run a script via ipython -i my_script.py to stay in the interactive interpreter after the script finishes or if an exception is thrown. But I could not figure…
Achim
  • 14,333
  • 13
  • 70
  • 128
7
votes
2 answers

qDebug Qt console application to output to Qt Creator application output

How do I use qDebug in a Qt console application to output to the Qt Creator "application output" window? Currently qDebug writes to the console window which interferes with the non-debug output. Using qDebug in a Qt GUI app outputs to application…
Eugene
  • 9,015
  • 18
  • 58
  • 86
1
2 3 4 5 6 7