Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 702 Bytes

File metadata and controls

23 lines (15 loc) · 702 Bytes

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