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.