blob: 77c895644b715aef9e7f929c4ea3367b6a43f685 [file] [log] [blame]
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00001\chapter{MACINTOSH ONLY}
2
3The following modules are available on the Apple Macintosh only.
4
5\section{Built-in module \sectcode{mac}}
6
7\bimodindex{mac}
8This module provides a subset of the operating system dependent
9functionality provided by the optional built-in module \code{posix}.
10It is best accessed through the more portable standard module
11\code{os}.
12
13The following functions are available in this module:
14\code{chdir},
15\code{getcwd},
16\code{listdir},
17\code{mkdir},
18\code{rename},
19\code{rmdir},
20\code{stat},
21\code{sync},
22\code{unlink},
23as well as the exception \code{error}.
24
25\section{Standard module \sectcode{macpath}}
26
27\stmodindex{macpath}
28This module provides a subset of the pathname manipulation functions
29available from the optional standard module \code{posixpath}. It is
30best accessed through the more portable standard module \code{os}, as
31\code{os.path}.
32
33The following functions are available in this module:
34\code{normcase},
35\code{isabs},
36\code{join},
37\code{split},
38\code{isdir},
39\code{isfile},
40\code{exists}.