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

105 questions
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
  • 15,415
  • 15
  • 80
  • 144
6
votes
1 answer

Ipython autocompletion for list or dict of objects

I would like to have autocompletion in IPython (Jupyter qtconsole or console) for the following case: I create a class class MyClass(object): def __init__(self, a, b): self.a = a self.b = b and put several objects of this class…
fred
  • 63
  • 1
  • 4
5
votes
0 answers

Non-blocking IPython Qt console in a PyQt application

I'm looking to embed an IPython Qt console in my application using RichJupyterWidget. It seems I have two choices as to how I set up the console: Use QtInProcessKernelManager (as below). In this case the kernel blocks when executing code which is…
Andy Pender
  • 106
  • 5
5
votes
0 answers

data hiding for python QTconsole

Currently I am making an image authentication project in which I need to authenticate an image with the help of a key. I am taking the key as a raw_input from the user through the IPython console. I want to hide the key being entered. Expected…
Ambika Saxena
  • 215
  • 4
  • 17
4
votes
1 answer

Exceptions in PyQt event loop and ipython

I have a PyQt program that is displaying some widgets and buttons. I want the program to run either as a standalone python instance, or inside an ipython environment. In this case, I use the following magic command in Jupyter console (formerly I…
Samuel
  • 479
  • 4
  • 10
4
votes
1 answer

Why my qtconsole display nothing but blank?

Why is my qtconsole displaying nothing but blank? platform: macOS Sierra, python version: Python3.5.1
4
votes
1 answer

How to turn on auto-complete of brackets in ipython qtconsole

In my jupyter notebook the brackets auto-complete which I like. If I go to the terminal and run jupyter qtconsole then my console opens. It is this version: Jupyter QtConsole 4.2.1 Python 2.7.11 |Anaconda 2.1.0 (32-bit)| (default, Dec 6 2015,…
whytheq
  • 34,466
  • 65
  • 172
  • 267
4
votes
1 answer

jupyter qtconsole does not connect to existing kernel

%qtconsole jupyter qtconsole --existing jupyter qtconsole --existing path/kernel-7596.json only opens a empty/dead qtconsole not connected to the kernel (under win32 and linux64) however jupyter console --existing is connecting to the kernel. Bug…
user3368210
  • 51
  • 1
  • 6
4
votes
2 answers

How do I start ipython's qtconsole cleanly on Win7

I have python 3.4 and ipython 2.3.1 installed on Windows 7. I installed ipython using pip from a wheel from http://www.lfd.uci.edu/~gohlke/pythonlibs/ (Thanks, Chris!). This install procedure does not create any start menu shortcuts, even when run…
jspencer
  • 522
  • 4
  • 14
4
votes
1 answer

Clear memory allocated by plotting in IPython

I'm plotting some large plots in IPython QtConsole (and Notebook). These take up a lot of memory, but once they are plotted I don't need them any more and they can go. How can I free up memory? None of the following …
gozzilli
  • 8,089
  • 11
  • 56
  • 87
4
votes
2 answers

Determining terminal width in IPython qtconsole

When running IPyhton qtconsole, how can the number of columns be determined for maximizing text display so that it looks good in the current setting ?
KevinP
  • 303
  • 1
  • 9
4
votes
1 answer

Control ipython history length

The title pretty much says what I want. I want to have more than 1000 lines of input in my ipython-history; which means that pressing arrow-up commands older are showing up. Is this possible? (probably somewhere in ipython-config()?) Thanks
wa4557
  • 953
  • 3
  • 13
  • 25
4
votes
3 answers

Error loading ipython qtconsole

I need some advise here. I've installed ipython (sudo pip install ipython[all]) I've python 2.7, mac osx 10.9 64bits. I'm trying to lunch qtconsole camilo-mbp:mvc cami$ ipython qtconsole Traceback (most recent call last): File…
Camilo Avella
  • 372
  • 1
  • 3
  • 8
4
votes
1 answer

Enabling vi key bindings in IPython qtconsole

I have enabled vi mode in my ~/.inputrc using the following lines in my mac. set editing-mode vi When I use IPython in terminal, I am getting proper vi key bindings, but when I use IPython in QtConsole using the command ipython qtconsole the vi…
Sudar
  • 18,954
  • 30
  • 85
  • 131
4
votes
2 answers

How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

I have installed in Window 7 environment Anaconda 2.0. The default Python is 2.7 but also Python 3.4 is installed. I am able to activate Python 3.4 with the command "activate py3k". After this Spyder IDE does work right with Python 3.4 But 1) I'm…
Stefano Gatti
  • 43
  • 1
  • 6