I am using Django
shell_plus
.
The readline
and rlcompleter
modules are installed in there.
But i find that when i close my shell_plus session then i can go back to history commands which i used in previous sessions.
In my office i can go back to previous commands as well.
what do i need to do for that
In addition, manage.py is automatically created in each Django project. It does the same thing as django-admin but also sets the DJANGO_SETTINGS_MODULE environment variable so that it points to your project's settings.py file.
You could use bpython it has history enabled and many other fantastic features, if you are using virtualenv install it with pip.
pip install bpython
or globally
apt-get install bpython
For me this is the most amazing interactive shell for python.
Do you have IPython
installed?
The docs mention that
The default resolution order is: bpython, ipython, python.
P.S. I haven't used bpython but there seems to be a history too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With