Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep command history between (i)python sessions

When I open a python or ipython from command-line, I don't have commands history from previous use, using up key
Is there a way to configure it, to remember commands, like a .bash_history?


1 Answers

Exit ipython cleanly with Ctrl+D and ipython should do this by default.

like image 68
wim Avatar answered Dec 09 '25 00:12

wim