Keep command history between (i) python sessions

When I open python or ipython from the command line, I don’t have a history of commands from previous use using the key.
Is there a way to configure it to remember commands, for example .bash_history?

+3
source share
1 answer

Close ipython with Ctrl+D, and ipython should do this by default.

+2
source

All Articles