summaryrefslogtreecommitdiffstats
path: root/Doc/mac/libmac.tex
blob: 77c895644b715aef9e7f929c4ea3367b6a43f685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\chapter{MACINTOSH ONLY}

The following modules are available on the Apple Macintosh only.

\section{Built-in module \sectcode{mac}}

\bimodindex{mac}
This module provides a subset of the operating system dependent
functionality provided by the optional built-in module \code{posix}.
It is best accessed through the more portable standard module
\code{os}.

The following functions are available in this module:
\code{chdir},
\code{getcwd},
\code{listdir},
\code{mkdir},
\code{rename},
\code{rmdir},
\code{stat},
\code{sync},
\code{unlink},
as well as the exception \code{error}.

\section{Standard module \sectcode{macpath}}

\stmodindex{macpath}
This module provides a subset of the pathname manipulation functions
available from the optional standard module \code{posixpath}.  It is
best accessed through the more portable standard module \code{os}, as
\code{os.path}.

The following functions are available in this module:
\code{normcase},
\code{isabs},
\code{join},
\code{split},
\code{isdir},
\code{isfile},
\code{exists}.