Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

macOS Finder comments

Project description

Installation

$ [sudo] pip install mac-comment

Functions

function __doc__
mac_comment.read(path) return string with Finder comment
mac_comment.write(path, comment=None) write Finder comment

CLI

usage __doc__
python -m comment path [comment] read/write Finder comment

Examples

>>> import mac_comment
>>> mac_comment.write(__file__,"comment")
>>> mac_comment.read(__file__)
'comment'
$ python -m mac_comment ~ "CLI works too"
$ python -m mac_comment ~
CLI works too

readme-generator

Supported by

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