Lines Matching full:history
11 completion and reading/writing of history files from the Python interpreter.
81 History file
84 The following functions operate on a history file:
89 Load a readline history file, and append it to the history list.
90 The default filename is :file:`~/.history`. This calls
96 Save the history list to a readline history file, overwriting any
97 existing file. The default filename is :file:`~/.history`. This calls
104 Set or return the desired number of lines to save in the history file.
106 the history file, by calling :c:func:`history_truncate_file` in
108 unlimited history file size.
111 History list
114 The following functions operate on a global history list:
119 Clear the current history. This calls :c:func:`clear_history` in the
128 Return the number of items currently in the history. (This is different from
130 be written to a history file.)
137 Return the current contents of history item at *index*. The item index
145 Remove history item specified by its position from the history.
154 Replace history item specified by its position with *line*.
163 Append *line* to the history buffer, as if it was the last line typed.
271 history reading and writing functions to automatically load and save a history
281 # default history len is -1 (infinite), which may grow unruly
290 support history save/restore. ::
299 histfile=os.path.expanduser("~/.console-history")):