PYTHON readline_write_history

is this article helpful?
|
Python replacement for PHP's readline_write_history [ edit | history ]
import readline
readline.write_history_file()
readline.write_history_file(filename)

PHP readline_write_history

PHP original manual for readline_write_history [ show | php.net ]

readline_write_history

(PHP 4, PHP 5)

readline_write_historyWrites the history

Description

bool readline_write_history ([ string $filename ] )

This function writes the command history to a file.

Parameters

filename

Path to the saved file.

Return Values

Returns TRUE on success or FALSE on failure.