| Line | |
|---|
| 1 |
|
|---|
| 2 | \section{\module{macpath} ---
|
|---|
| 3 | MacOS path manipulation functions}
|
|---|
| 4 |
|
|---|
| 5 | \declaremodule{standard}{macpath}
|
|---|
| 6 | % Could be labeled \platform{Mac}, but the module should work anywhere and
|
|---|
| 7 | % is distributed with the standard library.
|
|---|
| 8 | \modulesynopsis{MacOS path manipulation functions.}
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | This module is the Mac OS 9 (and earlier) implementation of the \module{os.path}
|
|---|
| 12 | module. It can be used to manipulate old-style Macintosh pathnames on Mac OS
|
|---|
| 13 | X (or any other platform).
|
|---|
| 14 | Refer to the
|
|---|
| 15 | \citetitle[../lib/lib.html]{Python Library Reference} for
|
|---|
| 16 | documentation of \module{os.path}.
|
|---|
| 17 |
|
|---|
| 18 | The following functions are available in this module:
|
|---|
| 19 | \function{normcase()},
|
|---|
| 20 | \function{normpath()},
|
|---|
| 21 | \function{isabs()},
|
|---|
| 22 | \function{join()},
|
|---|
| 23 | \function{split()},
|
|---|
| 24 | \function{isdir()},
|
|---|
| 25 | \function{isfile()},
|
|---|
| 26 | \function{walk()},
|
|---|
| 27 | \function{exists()}.
|
|---|
| 28 | For other functions available in \module{os.path} dummy counterparts
|
|---|
| 29 | are available.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.