macostools.rst 3.53 KB

:mod:`macostools` --- Convenience routines for file manipulation

This module contains some convenience routines for file-manipulation on the Macintosh. All file parameters can be specified as pathnames, :class:`FSRef` or :class:`FSSpec` objects. This module expects a filesystem which supports forked files, so it should not be used on UFS partitions.

Warning

This module is removed in 3.0.

The :mod:`macostools` module defines the following functions:

Note that the process of creating finder aliases is not specified in the Apple documentation. Hence, aliases created with :func:`mkalias` could conceivably have incompatible behaviour in some cases.

:mod:`findertools` --- The :program:`finder`'s Apple Events interface

This module contains routines that give Python programs access to some functionality provided by the finder. They are implemented as wrappers around the AppleEvent interface to the finder.

All file and folder parameters can be specified either as full pathnames, or as :class:`FSRef` or :class:`FSSpec` objects.

The :mod:`findertools` module defines the following functions: