Skip to main content

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


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)

Uploaded Source

Built Distribution

write-2018.11.20-py2.py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page