Questions tagged [ipython]

IPython is an interactive shell for Python and other programming languages. Questions about programming using IPython are off-topic here.

47 questions
33
votes
1 answer

show all breakpoints when debug a python code with pdb

I am using pdb to debug a python code. I set the breakpoints in the pdb command line with b [linenumber]. Can I check all the linenumber of breakpoints? thanks.
HXGuo
  • 577
  • 1
  • 7
  • 15
16
votes
2 answers

%paste magic function on ipython3

I'm using ipython3, installed on Ubuntu with apt-get. I can't use the paste magic function, it complains about missing Tkinter. But I do have Tkinter and the same thing works fine on ipython (2). What gives? Python 3.2.3 (default, Oct 19 2012,…
wim
  • 3,087
  • 5
  • 42
  • 57
6
votes
2 answers

Where are ipython key bindings documented?

I'm mostly loving ipython, but exasperated by my efforts to find any documentation for keyboard shortcuts. I can arrow/scroll through my command history, I can use ctrl r to search my history, a la bash, but other bash/readline commands alt D to…
Amanda
  • 272
  • 3
  • 13
5
votes
2 answers

How to search and install package in Anaconda (Conda)

I am trying to install pandoc so I did conda install pandoc but nothing popped up and it told me to search. I searched with anaconda search -t conda pandoc and the results are below...How can I install zhenxieit/pandoc? I'm trying to install it to…
O.rka
  • 275
  • 2
  • 4
  • 13
4
votes
1 answer

IPython plots show up in IDLE

This quite stupid, but every time i use plot() with IPython it pop's up in the IDLE window opposed to showning it inline. How can I change this?
root
  • 145
  • 1
  • 4
4
votes
3 answers

CTRL-[keys] and arrows not functionning in terminal / ipython

I'm using ipython Inside the python shell, when I press up instead of showing the last command, it prints ^[[A also CTRL-[keys] are fubar. CTRL-p prints ^P Everything is normal under terminal\bash My guess is that it is an encoding problem. I'd…
user1190
  • 620
  • 3
  • 10
  • 20
4
votes
0 answers

IPython has lag on ConEmu, and only on ConEmu

I'm running Python 3.7.3 through IPython 7.5.0 on ConEmu 19.6.23.0, using Windows 10 Pro. Whenever I run IPython on ConEmu, I experience lag. For example, on IPython's interpreter I input 1+1 and hit Enter, part of the prompt disappears, and after…
Albert
  • 155
  • 4
4
votes
1 answer

"ssh -X" doesn't open matplotlib figures

Often times, I ssh into another computer to do python work. While I'm coding, I like to have an ipython shell open for quick testing. For some reason, I cannot get matplotlib to open figures. Here is an example: [mwoods@linux_box ~]$ ssh -X…
mwoods
  • 41
  • 2
3
votes
2 answers

How can I install ipython with pip3?

I just did the following with no problem: brew install python3 pip3 install numpy pip3 install scipy But when trying: pip3 install ipython I get: Exception: Traceback (most recent call last): File…
user3491525
  • 31
  • 1
  • 2
3
votes
1 answer

How to config ipython3-3.2 on Mac OS X?

I installed IPython with Macport: $ sudo port install py32-ipython It issues errors when I start it: $ ipython3-3.2 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/IPython/utils/path.py:417: UserWarning:…
qazwsx
  • 8,599
  • 24
  • 58
  • 86
3
votes
1 answer

Can I redo/undo in ipython shell?

A feature in bpython called rewind. Is there some similar key bindings?
iMom0
  • 321
  • 1
  • 3
  • 14
3
votes
2 answers

3D graphics in Jupyter notebook (ipynb)

I'm searching for most convenient way how to insert 3D graphics into ipython (Jupyter) notebook? I mean some simple 3D model of machines (space-crafts in my case) mostly composed of simple primitives e.g. like CAD What I want: people who read the…
Prokop Hapala
  • 351
  • 4
  • 13
2
votes
1 answer

ipython notebook can't find python

I had a couple of Python 2 versions under home-brew. Since I was only using ipython notebook, I decided to uninstall all Python 2 instances, which turned out to be a bad idea because now I just get an error when trying start the P ython server.…
Richard Berg
  • 21
  • 1
  • 2
2
votes
2 answers

ipython and sublime text 2

I really love how Rstudio has a shortcut for running a line of selected code, this allows for much quicker coding. I notice more and more however, that I need to work in python as it offers a bit more flexibility than R. I prefer to code python in…
2
votes
3 answers

forcing windows 7 not to open python script executables (specificaly pip an IPython) in a new popup cmd window

Meaning that when I run from the command line something like: Ipython or pip install somelib windows runs them in a new cmd window instead of in the current window. therefor if there is an error message I usually can't see it since the window…
alonisser
  • 163
  • 1
  • 6
1
2 3 4