Line editing doesn't work in python from terminal
When I run python in a terminal, line editing doesn't work at the python prompt. Arrow keys echo their mapping. emacs keys likewise.
I need to do this instead of python console because I need to run the current python file with an argument. Can't see how to do that via the console. It's obvious in terminal: python thing.py arg.
I have gnureadline installed in the virtualenv.
I need to do this instead of python console because I need to run the current python file with an argument. Can't see how to do that via the console. It's obvious in terminal: python thing.py arg.
I have gnureadline installed in the virtualenv.
Please sign in to leave a comment.
However, when running python in the local terminal, line editing doesn't work.