You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working to improve Emacs interaction with iPython. Emacs sends many commands to iPython "behind the scenes", hiding the output. This causes iPython to update the history execution counter, and also pollutes In (and _, _2, etc.).
Is there a way to ask iPython to run a command but not record it in In/Out or update the execution counter (i.e. "off the books")?
This "sort of" works but leads to an error:
In [9]: _ip.execution_count-=1; print('OK?')
OK?
ERROR! Session/linenumberwasnotuniqueindatabase. Historyloggingmovedtonewsession483In [9]:
The text was updated successfully, but these errors were encountered:
I'm working to improve Emacs interaction with iPython. Emacs sends many commands to iPython "behind the scenes", hiding the output. This causes iPython to update the history execution counter, and also pollutes
In
(and_
,_2
, etc.).Is there a way to ask iPython to run a command but not record it in In/Out or update the execution counter (i.e. "off the books")?
This "sort of" works but leads to an error:
The text was updated successfully, but these errors were encountered: