Fred Drake | fe7f3bc | 1998-07-23 17:55:31 +0000 | [diff] [blame] | 1 | |
Fred Drake | c817e27 | 1998-08-10 18:40:22 +0000 | [diff] [blame] | 2 | \section{\module{macpath} --- |
Fred Drake | 59d8b73 | 1999-02-01 20:19:38 +0000 | [diff] [blame] | 3 | MacOS path manipulation functions} |
Fred Drake | fe7f3bc | 1998-07-23 17:55:31 +0000 | [diff] [blame] | 4 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 5 | \declaremodule{standard}{macpath} |
| 6 | % Could be labeled \platform{Mac}, but the module should work anywhere and |
| 7 | % is distributed with the standard library. |
Fred Drake | fe7f3bc | 1998-07-23 17:55:31 +0000 | [diff] [blame] | 8 | \modulesynopsis{MacOS path manipulation functions.} |
| 9 | |
Fred Drake | 55fca54 | 1998-02-18 15:21:26 +0000 | [diff] [blame] | 10 | |
Brett Cannon | 7706c2d | 2005-02-13 22:50:04 +0000 | [diff] [blame] | 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 |
Fred Drake | e15eb35 | 1999-11-10 16:13:25 +0000 | [diff] [blame] | 15 | \citetitle[../lib/lib.html]{Python Library Reference} for |
| 16 | documentation of \module{os.path}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 17 | |
| 18 | The following functions are available in this module: |
Fred Drake | 55fca54 | 1998-02-18 15:21:26 +0000 | [diff] [blame] | 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()}. |
Fred Drake | 59d8b73 | 1999-02-01 20:19:38 +0000 | [diff] [blame] | 28 | For other functions available in \module{os.path} dummy counterparts |
Guido van Rossum | 66774a9 | 1996-07-21 02:20:58 +0000 | [diff] [blame] | 29 | are available. |