IPython IndentationError from prompt

Asked by Andreas Roehler

When pasting code at IPython prompt, an IndentationError might occur even with correct indent.

Question information

Language:
English Edit question
Status:
Solved
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Solved by:
Andreas Roehler
Solved:
Last query:
Last reply:
Revision history for this message
Andreas Roehler (a-roehler) said :
#1

If sure indent is correct, toggle autoindent with

%autoindent