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.20.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for write-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd0ebad0821910c4bece6e0c59eb883b03a239981ab6a2bc3e9227191a9166db |
|
MD5 | c85297e47d021861b65fbc07def523f7 |
|
BLAKE2b-256 | 1d2727fde10baccc60d6a2caec550afdd11b1714a57b07a06decab0ca30d7c51 |