This chapter describes modules that are only available on the Mac OS X platform.

See the chapters MacPython OSA Modules and Undocumented Mac OS modules for more modules, and the HOWTO Using Python on a Macintosh for a general introduction to Mac-specific Python programming.


Most of the OS X APIs that these modules use are deprecated or removed in recent versions of OS X. Many are not available when Python is executing in 64-bit mode. These modules have been removed in Python 3. You should avoid using them in Python 2.