About Anaconda Help Download Anaconda

Writeable file object that atomically updates a file.

Installers

  • noarch v1.0.1

conda install

To install this package run one of the following:
conda install conda-forge::atomicfile

Description

Writeable file object that atomically updates a file. All writes will go to a temporary file. Call close() explicitly when you are done writing, and AtomicFile will rename the temporary copy to the original name, making the changes visible. If the object is destroyed without being closed, all your writes are discarded. AtomicFile is friendly to with statement.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy