Publisher review:Safely morph a file in-place script contains a class that enables a client to securely update an existing file. This script contains a class that enables a client to securely update an existing file, including the ability to make an automated backup version.
This code encapsulates the method to safely update files in-place, by first writing to a temporary file and finally renaming the new temporary file to the old filename. This also make it possible to create a backup copy of the original file.The "FileMorpher" class encapsulates all the necessary steps, including the filename handling, which makes the calling code much cleaner as opposed to the naive approach where all the gory details are spread over that higher-level code.
Safely morph a file in-place 1.0 is a Python script for File Management scripts design by Jorgen Hermann.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
contains a class that enables a client to securely update an existing file.
Operating system:Windows / Linux / Mac OS / BSD / Solaris