rl_loadhistory()Load the history from the specified file
rl_loadhistory(file_path)
file_path (string) — A file path that contains history list to be loaded
boolean — Returns true if file_path exists and operation succeeded, and returns false if otherwise
import rl
rl_loadhistory("history.txt")