37. Mac OS X specific services

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 在苹果系统上使用 Python 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.