Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't type the letter "e" in the python3 shell [closed]

Tags:

python

This is a weird one. Whenever I enter the python3 shell (doesn't happen in python [2]) and type "e" it immediately replaces that character with "HI THERE". For example, if I try to type "exit()" it turns into "HI THERExit()".

Here's what happens when I type python3<CR>exit() in my default shell (zsh).

% python3
>>> HI THERExit()

And I just discovered this same behavior happens when I invoke the bash shell.

% bash
bash-3.2$ HI THERExit

I have no idea where the problem could be. Bash/zsh settings? Vim command mode remap? Some kind of python3 alias or auto expansion? Please give me some places to check, or a strategy to find it (e.g. grep folder XYZ). A "HI THERE" test string seems like something I would have set up at some point but I have no recollection of it.

like image 699
Taylor Vance Avatar asked Oct 24 '25 07:10

Taylor Vance


1 Answers

Thank you to all who offered ideas. And a big thanks to @chepner who suggested ~/.inputrc, the first line of which was echo "HI THERE". Case closed.

like image 68
Taylor Vance Avatar answered Oct 25 '25 21:10

Taylor Vance



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!