blob: 9dece8d128fa8632b7d370aff7a09abbfc4cd39e [file] [log] [blame]
Fred Drakefe7f3bc1998-07-23 17:55:31 +00001
Fred Drakec817e271998-08-10 18:40:22 +00002\section{\module{macpath} ---
Fred Drake59d8b731999-02-01 20:19:38 +00003 MacOS path manipulation functions}
Fred Drakefe7f3bc1998-07-23 17:55:31 +00004
Fred Drakef6863c11999-03-02 16:37:17 +00005\declaremodule{standard}{macpath}
6% Could be labeled \platform{Mac}, but the module should work anywhere and
7% is distributed with the standard library.
Fred Drakefe7f3bc1998-07-23 17:55:31 +00008\modulesynopsis{MacOS path manipulation functions.}
9
Fred Drake55fca541998-02-18 15:21:26 +000010
Brett Cannon7706c2d2005-02-13 22:50:04 +000011This module is the Mac OS 9 (and earlier) implementation of the \module{os.path}
12module. It can be used to manipulate old-style Macintosh pathnames on Mac OS
13X (or any other platform).
14Refer to the
Fred Drakee15eb351999-11-10 16:13:25 +000015\citetitle[../lib/lib.html]{Python Library Reference} for
16documentation of \module{os.path}.
Guido van Rossum5fdeeea1994-01-02 01:22:07 +000017
18The following functions are available in this module:
Fred Drake55fca541998-02-18 15:21:26 +000019\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 Drake59d8b731999-02-01 20:19:38 +000028For other functions available in \module{os.path} dummy counterparts
Guido van Rossum66774a91996-07-21 02:20:58 +000029are available.