Installation
$ [sudo] pip install read
Functions
function | __doc__ |
---|---|
read.read(path, size=-1, encoding='utf-8') |
return file content (if file exists) |
Examples
>>> import read
>>> read.read("path/to/file")
'file content ...'
>>> read.read("not-existing")
None