The arrow keys don't work on my server, but only when running python from the virtualenv (see example below, where I press the left and right keys).
I went over the answers in here: Seeing escape characters when pressing the arrow keys in python shell: I don't have the readline
module installed in either version of python, nor does PYTHONSTARTUP
point to anywhere.
Any ideas?
$ python3
Python 3.5.2 (default, Oct 8 2019, 13:06:37)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
$
$ source venv/bin/activate
$
$ python
Python 3.8.2 (default, Mar 8 2020, 12:31:24)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ^[[D^[[C