Questions tagged [ipython]
IPython is an interactive shell for Python.
92 questions
0 votes
0 answers
34 views
Emacs: Elpy: Popup suggestions menu not displayed in ipython shell (getting suggestions in *Completions* buffer instead after pressing `TAB`)
I am using Emacs 30.1 on MacOS and have configured Elpy. The auto complete popup is working properly in python file (for e.g. typing 'a'.l shows me below popup ). However, when I type 'a'.l in the ...
0 votes
0 answers
53 views
python shell complete not working
To reproduce, in an inferior-python shell, type "a=[0,1]; a[0].[tab]", here [tab] means the tab key, no completion. In a terminal, the above procedure will pop up a completion list. (python-...
0 votes
1 answer
122 views
Prevent completion of the empty string
I would like to prevent completions to the empty string in python and in inferior-python-mode. To explain a bit better - when the prompt or the string is empty, there are no completions proposed. When ...
0 votes
0 answers
118 views
How to wait for buffers to load?
I'm trying to create a hook for ein package that will clean up split windows and focus on the rendered buffer. The package provides one hook (called ein:ipynb-mode-hook), but running functions below ...
2 votes
2 answers
501 views
IPython doesn't echo code input
Typically when I send code from a Python script using C-c C-e to IPython, IPython does not echo the code that I input. For example, sending a script with just the following in test.py 2 + 2 and ...
1 vote
0 answers
266 views
Getting an error for creating python dedicated shells
Some time ago, I asked this question, which is how to create new python shells that get renamed based on the script from which they are run, e.g., foo.py should create a shell *Python[foo.py]*, and ...
0 votes
1 answer
112 views
Dedicated python shells that runs the code
This answer how to map C-c ! to create a new python shell for the current buffer. The main code is this: (defun my-python-start-or-switch-repl (&optional msg) "Start and/or switch to the ...
3 votes
2 answers
2k views
Is there a way to show python generated plots in the python interpreter console?
I use emacs for most python programming, but really miss the inline plot feature combined with printed output in Spyder. See picture. I've been experimenting with various interpreter settings but ...