write(path,content) - open.write replacement. Creates directory if it doesn't exist
Project description
Installation
$ [sudo] pip install write
Functions
function | __doc__ |
---|---|
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'
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-2019.4.13.tar.gz
(1.6 kB
view hashes)