lazy-write

Write to file if need


Keywords
File, Read, Write
License
MIT
Install
pip install lazy-write==0.0.1

Documentation

lazy-write Build Status codecov PyPI version

Write to File if Need for Python

Installation

Need Python 3.6+.

pip install lazy-write

Usage

import lazy_write

file_path = 'test.txt'
content = 'rain & snow'

lazy_write.write(file_path, content)  # really write
lazy_write.write(file_path, content)  # check equal and not write