save_state(state=None,
dir=None,
compress_type=1,
verbosity=1,
force=False,
pickle=False)
| source code
|
Function for saving the program state.
- Parameters:
state (str) - The saved state file.
dir (str) - The path of the state file.
verbosity (int) - The verbosity level.
force (bool) - Boolean argument which if True causes the file to be overwritten
if it already exists.
compress_type (int) - The compression type. The integer values correspond to the
compression type: 0, no compression; 1, Bzip2 compression; 2,
Gzip compression.
|