confstr_names
dictionary. For configuration variables not
included in that mapping, passing an integer for name is also
accepted.
Availability: Unix.
If the configuration value specified by name isn't defined, the empty string is returned.
If name is a string and is not known, ValueError is
raised. If a specific value for name is not supported by the
host system, even if it is included in confstr_names
, an
OSError is raised with errno.EINVAL for the
error number.
-1
is returned. The comments regarding the name
parameter for confstr() apply here as well; the dictionary
that provides information on the known names is given by
sysconf_names
.
Availability: Unix.
The follow data values are used to support path manipulation operations. These are defined for all platforms.
Higher-level operations on pathnames are defined in the os.path module.
'.'
for POSIX or ':'
for the Macintosh.
'..'
for POSIX or '::'
for the Macintosh.
None
if only one separator character exists. This is
set to "/" on DOS and Windows systems where sep
is a
backslash.
'PATH'
key.
'\
n'
for POSIX or '\r'
for Mac OS, or multiple characters,
for example, '\r\n'
for DOS and Windows.