blob: af071420231388b9a871dac34179701b684961c0 [file] [log] [blame]
Guido van Rossumecde7811995-03-28 13:35:14 +00001\chapter{Macintosh Specific Services}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00002
Guido van Rossum86751151995-02-28 17:14:32 +00003The modules in this chapter are available on the Apple Macintosh only.
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00004
Guido van Rossum470be141995-03-17 16:07:09 +00005\section{Built-in Module \sectcode{mac}}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00006
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
Guido van Rossum470be141995-03-17 16:07:09 +000025\section{Standard Module \sectcode{macpath}}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +000026
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}.