I didn't like it because I have to write some import I just wrote in last shell.
Thank to bpython to make my life easier, because bpython can save your shell code history and show snippets to help you write code in shell.
To install bpython, simply run:
pip install bpythonThanks