Installation
$ [sudo] pip install comment
Functions
function | __doc__ |
---|---|
comment.read(path) |
return string with Finder comment |
comment.write(path, comment=None) |
write Finder comment |
CLI
usage | __doc__ |
---|---|
python -m comment path [comment] |
read/write Finder comment |
Examples
>>> import comment
>>> comment.write(__file__,"comment")
>>> comment.read(__file__)
'comment'
$ python -m comment ~ "CLI works too"
$ python -m comment ~
CLI works too