Lines Matching refs:histfile
300 histfile = os.path.join(os.path.expanduser("~"), ".python_history")
302 readline.read_history_file(histfile)
308 atexit.register(readline.write_history_file, histfile)
319 histfile = os.path.join(os.path.expanduser("~"), ".python_history")
322 readline.read_history_file(histfile)
325 open(histfile, 'wb').close()
328 def save(prev_h_len, histfile):
331 readline.append_history_file(new_h_len - prev_h_len, histfile)
332 atexit.register(save, h_len, histfile)
344 histfile=os.path.expanduser("~/.console-history")):
346 self.init_history(histfile)
348 def init_history(self, histfile):
352 readline.read_history_file(histfile)
355 atexit.register(self.save_history, histfile)
357 def save_history(self, histfile):
359 readline.write_history_file(histfile)