view Doc/libmac.tex @ 3546:3f7cdf1663f7 legacy-trunk

A version of swed that can import html files. Also demonstrates implementing object handlers in Python.
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 07 May 1996 15:25:36 +0000
parents 7ef72873e4d6
children b916d614e363
line wrap: on
line source

\chapter{Macintosh Specific Services}

The modules in this chapter 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}.