Seeing escape characters when pressing the arrow keys in python shell June 26, 2022 by Tarik I’ve solved this issue by installing readline package: pip install readline