| Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 1 | \chapter{MACINTOSH ONLY} | 
 | 2 |  | 
 | 3 | The following modules are available on the Apple Macintosh only. | 
 | 4 |  | 
 | 5 | \section{Built-in module \sectcode{mac}} | 
 | 6 |  | 
 | 7 | \bimodindex{mac} | 
 | 8 | This module provides a subset of the operating system dependent | 
 | 9 | functionality provided by the optional built-in module \code{posix}. | 
 | 10 | It is best accessed through the more portable standard module | 
 | 11 | \code{os}. | 
 | 12 |  | 
 | 13 | The 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}, | 
 | 23 | as well as the exception \code{error}. | 
 | 24 |  | 
 | 25 | \section{Standard module \sectcode{macpath}} | 
 | 26 |  | 
 | 27 | \stmodindex{macpath} | 
 | 28 | This module provides a subset of the pathname manipulation functions | 
 | 29 | available from the optional standard module \code{posixpath}.  It is | 
 | 30 | best accessed through the more portable standard module \code{os}, as | 
 | 31 | \code{os.path}. | 
 | 32 |  | 
 | 33 | The 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}. |