Python access to MacOS Resource files.
DownloadDescriptionPython read-only access to old MacOS Resources on Linux, MOSX, or other platforms, including AppleSingle/AppleDouble files, /rsrc on MOSX, and __MACOSX/ directory trees in ditto archives. Writing resource files or AppleSingle/AppleDouble files is not implemented, as I see little need for it, compared even to the need to read such old files. When run as a script and given a pathname, finds the resources from that pathname, exctracting them from AppleSingle/AppleDouble and displaying that, and lists the resources found. When run with the option --ditto and a pathname(s), prints the pathnames in the order needed for archives readable by Apple's rather shoddy ditto program, recursing into directories (there is also an option to read the pathnames from a file, so they don't have to be easy to shell-escape). When used as a Python module:
Run pydoc on it for more information. |