The input() function in python prompts for user-input, but without options to edit the line typed by the user. In this video, you will learn how to add line editing capability to the default built-in input() function merely by importing the rlcompleter module.
...
https://www.youtube.com/watch?v=bB_FMVc_44E