write(path,content) - open.write replacement. Creates directory if it doesn't exist
Project description
Install
$ [sudo] pip install write
Functions
function | description |
---|---|
write.write(path, content) |
write content to file. Creates directory if it doesn't exist |
Examples
>>> import write
>>> write.write("not-existing-folder/file",'string')
>>> open("not-existing-folder/file").read()
'string'
readme-md - README.md generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
write-2018.11.22.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for write-2018.11.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8932a2c48b5abc4e93f00c1fa014da4ec0fce4f56060cc96192155f9a840261 |
|
MD5 | a63849b17d2cb6004c378edef4bebc8c |
|
BLAKE2b-256 | 46d9a01de579110f9778edef7f928a6741a56fa4b817cd1b0d3bce3df29d0e88 |