1if access is allowed,
0if not. See the Unix man page access(2) for more information. Availability: Unix, Windows.
'..'even if they are present in the directory. Availability: Macintosh, Unix, Windows.
0666(octal). The current umask value is first masked out from the mode. Availability: Unix.
FIFOs are pipes that can be accessed like regular files. FIFOs exist until they are deleted (for example with os.unlink()). Generally, FIFOs are used as rendezvous between ``client'' and ``server'' type processes: the server opens the FIFO for reading, and the client opens it for writing. Note that mkfifo() doesn't open the FIFO -- it just creates the rendezvous point.
0777(octal). On some systems, mode is ignored. Where it is used, the current umask value is first masked out. Availability: Macintosh, Unix, Windows.
0777(octal). New in version 1.5.2.
pathconf_namesdictionary. For configuration variables not included in that mapping, passing an integer for name is also accepted. Availability: Unix.
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
OSError is raised with errno.EINVAL for the
Note: this function can fail with the new directory structure made if you lack permissions needed to remove the leaf directory or file. New in version 1.5.2.
st_ctime. More items may be added at the end by some implementations. Note that on the Macintosh, the time values are floating point values, like all time values on the Macintosh. (On MS Windows, some items are filled with dummy values.) Availability: Macintosh, Unix, Windows.
Note: The standard module stat defines functions and constants that are useful for extracting information from a stat structure.
f_namemax. Availability: Unix.
Note: The standard module statvfs defines constants that are useful for extracting information from a statvfs structure.
None. If given and not
None, prefix is used to provide a short prefix to the filename. Applications are responsible for properly creating and managing files created using paths returned by tempnam(); no automatic cleanup is provided.
None, then the file's access and modified times are set to the current time. Otherwise, times must be a 2-tuple of numbers, of the form
(atime, mtime)which is used to set the access and modified times, respectively. Changed in version 2.0: added support for
Nonefor times. Availability: Macintosh, Unix, Windows.