chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
bbec1547-1a67-4410-951a-7dca27b0d9f1
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,162
supabase-export-v2
4ff43fbbef39aa7c
.. function:: rmdir(path, *, dir_fd=None) Remove (delete) the directory *path*. If the directory does not exist or is not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised respectively. In order to remove whole directory trees, :func:`shutil.rmtree` can be used.
trusted_official_docs
CPython Docs
.. function:: rmdir(path, *, dir_fd=None) Remove (delete) the directory *path*. If the directory does not exist or is not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised respectively. In order to remove whole directory trees, :func:`shutil.rmtree` can be used.
.. function:: rmdir(path, *, dir_fd=None) Remove (delete) the directory *path*. If the directory does not exist or is not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised respectively. In order to remove whole directory trees, :func:`shutil.rmtree` can be used.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bc4a51b1-09db-4432-bf12-42ddbf9da1b7
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,516
supabase-export-v2
b6ccca956d4b2958
.. index:: single: directory; walking single: directory; traversal Generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory *top* (including *top* itself), it yields a 3-tuple ``(dirpath, dirnames, filenames)``.
trusted_official_docs
CPython Docs
.. index:: single: directory; walking single: directory; traversal Generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory *top* (including *top* itself), it yields a 3-tuple ``(dirpath, dirnames, filenames)``.
.. index:: single: directory; walking single: directory; traversal Generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory *top* (including *top* itself), it yields a 3-tuple ``(dirpath, dirnames, filenames)``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bc7ae617-8a49-4b4b-9e21-15651df59758
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,502
supabase-export-v2
3ce4d67b4d065ee0
.. function:: setgroups(groups, /) Set the list of supplemental group ids associated with the current process to *groups*. *groups* must be a sequence, and each element must be an integer identifying a group. This operation is typically available only to the superuser.
trusted_official_docs
CPython Docs
.. function:: setgroups(groups, /) Set the list of supplemental group ids associated with the current process to *groups*. *groups* must be a sequence, and each element must be an integer identifying a group. This operation is typically available only to the superuser.
.. function:: setgroups(groups, /) Set the list of supplemental group ids associated with the current process to *groups*. *groups* must be a sequence, and each element must be an integer identifying a group. This operation is typically available only to the superuser.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bc890299-9f2d-4a02-85ba-44a144786049
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,352
supabase-export-v2
669f6873901461d7
:data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in the default locale-aware mode) * On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the device encoding. Note that the standard stream settings in UTF-8 mode can be overridden by :envvar:`PYTHONIOENCODING` (just ...
trusted_official_docs
CPython Docs
:data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in the default locale-aware mode) * On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the device encoding. Note that the standard stream settings in UTF-8 mode can be overridden by :envvar:`PYTHONIOENCODING` (just ...
:data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in the default locale-aware mode) * On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the device encoding. Note that the standard stream settings in UTF-8 mode can be overridden by :envvar:`PYTHONIOENCODING` (just ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bccd8edc-0394-4e6b-9bc3-fb370ac39ac7
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,704
supabase-export-v2
182cd6ce3a0f2c98
...) execle(path, arg0, arg1, ..., env) execlp(file, arg0, arg1, ...) execlpe(file, arg0, arg1, ..., env) execv(path, args) execve(path, args, env) execvp(file, args) execvpe(file, args, env) These functions all execute a new program, replacing the current process; they do not return. On Unix, the new executable is lo...
trusted_official_docs
CPython Docs
...) execle(path, arg0, arg1, ..., env) execlp(file, arg0, arg1, ...) execlpe(file, arg0, arg1, ..., env) execv(path, args) execve(path, args, env) execvp(file, args) execvpe(file, args, env) These functions all execute a new program, replacing the current process; they do not return. On Unix, the new executable is lo...
...) execle(path, arg0, arg1, ..., env) execlp(file, arg0, arg1, ...) execlpe(file, arg0, arg1, ..., env) execv(path, args) execve(path, args, env) execvp(file, args) execvpe(file, args, env) These functions all execute a new program, replacing the current process; they do not return. On Unix, the new executable is lo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bdd1685a-d901-4ab5-91a2-a9aac7029b5e
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,475
supabase-export-v2
9f298c6bdeccec97
parameter refers to the target of the link (the file or directory being linked to), and *dst* is the name of the link being created. On Windows, a symlink represents either a file or a directory, and does not morph to the target dynamically. If the target is present, the type of the symlink will be created to match. ...
trusted_official_docs
CPython Docs
parameter refers to the target of the link (the file or directory being linked to), and *dst* is the name of the link being created. On Windows, a symlink represents either a file or a directory, and does not morph to the target dynamically. If the target is present, the type of the symlink will be created to match. ...
parameter refers to the target of the link (the file or directory being linked to), and *dst* is the name of the link being created. On Windows, a symlink represents either a file or a directory, and does not morph to the target dynamically. If the target is present, the type of the symlink will be created to match. ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
be099ac1-9dfb-45db-858c-ac3a52cd100e
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,329
supabase-export-v2
c983414c5382c1ee
* On VxWorks, os.popen, os.fork, os.execv and os.spawn*p* are not supported. * On WebAssembly platforms, Android and iOS, large parts of the :mod:`!os` module are not available or behave differently. APIs related to processes (e.g. :func:`~os.fork`, :func:`~os.execve`) and resources (e.g. :func:`~os.nice`) are not av...
trusted_official_docs
CPython Docs
* On VxWorks, os.popen, os.fork, os.execv and os.spawn*p* are not supported. * On WebAssembly platforms, Android and iOS, large parts of the :mod:`!os` module are not available or behave differently. APIs related to processes (e.g. :func:`~os.fork`, :func:`~os.execve`) and resources (e.g. :func:`~os.nice`) are not av...
* On VxWorks, os.popen, os.fork, os.execv and os.spawn*p* are not supported. * On WebAssembly platforms, Android and iOS, large parts of the :mod:`!os` module are not available or behave differently. APIs related to processes (e.g. :func:`~os.fork`, :func:`~os.execve`) and resources (e.g. :func:`~os.nice`) are not av...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c00a8268-f9f4-4ac0-b99d-c70a6d9f43fe
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,067
supabase-export-v2
edf11e8f7ceee952
handled to apply access control to the new directory such that only the current user and administrators have access. Other values of *mode* are ignored. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
trusted_official_docs
CPython Docs
handled to apply access control to the new directory such that only the current user and administrators have access. Other values of *mode* are ignored. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
handled to apply access control to the new directory such that only the current user and administrators have access. Other values of *mode* are ignored. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c01fdaf4-fd66-413e-8bcf-66f7a89f8234
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,480
supabase-export-v2
f744033d7eabac89
.. function:: initgroups(username, gid, /) Call the system ``initgroups()`` to initialize the group access list with all of the groups of which the specified username is a member, plus the specified group id.
trusted_official_docs
CPython Docs
.. function:: initgroups(username, gid, /) Call the system ``initgroups()`` to initialize the group access list with all of the groups of which the specified username is a member, plus the specified group id.
.. function:: initgroups(username, gid, /) Call the system ``initgroups()`` to initialize the group access list with all of the groups of which the specified username is a member, plus the specified group id.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c02befeb-bc1f-4d34-8c78-231994bd4773
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,923
supabase-export-v2
e1ba2159bf9c7a40
.. _path_fd: * **specifying a file descriptor:** Normally the *path* argument provided to functions in the :mod:`!os` module must be a string specifying a file path. However, some functions now alternatively accept an open file descriptor for their *path* argument. The function will then operate on the file referred...
trusted_official_docs
CPython Docs
.. _path_fd: * **specifying a file descriptor:** Normally the *path* argument provided to functions in the :mod:`!os` module must be a string specifying a file path. However, some functions now alternatively accept an open file descriptor for their *path* argument. The function will then operate on the file referred...
.. _path_fd: * **specifying a file descriptor:** Normally the *path* argument provided to functions in the :mod:`!os` module must be a string specifying a file path. However, some functions now alternatively accept an open file descriptor for their *path* argument. The function will then operate on the file referred...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c050055a-3724-442b-860b-a68bb1111d96
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,505
supabase-export-v2
ea6e2b6b9e6912c5
Set the access and modified times of the file specified by *path*. :func:`utime` takes two optional parameters, *times* and *ns*. These specify the times set on *path* and are used as follows:
trusted_official_docs
CPython Docs
Set the access and modified times of the file specified by *path*. :func:`utime` takes two optional parameters, *times* and *ns*. These specify the times set on *path* and are used as follows:
Set the access and modified times of the file specified by *path*. :func:`utime` takes two optional parameters, *times* and *ns*. These specify the times set on *path* and are used as follows:
python, official-docs, cpython, P0
Local_Trusted_Corpus
c051b5b2-5c52-42b4-88d6-2dcb66c5b5ee
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,570
supabase-export-v2
6495439781d1a1c7
automatically translated into a corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` don't update :data:`os.environ`, so it is actually preferable to delete items of :data:`os.environ`. See also the :func:`os.reload_environ` function.
trusted_official_docs
CPython Docs
automatically translated into a corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` don't update :data:`os.environ`, so it is actually preferable to delete items of :data:`os.environ`. See also the :func:`os.reload_environ` function.
automatically translated into a corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` don't update :data:`os.environ`, so it is actually preferable to delete items of :data:`os.environ`. See also the :func:`os.reload_environ` function.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c0bbe106-bd13-41ef-82e2-e84cfd9b1bbe
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,232
supabase-export-v2
5f6525697f3d64ff
creation time is properly available as ``st_birthtime``, and in the future ``st_ctime`` may be changed to return zero or the metadata change time, if available. .. function:: stat(path, *, dir_fd=None, follow_symlinks=True)
trusted_official_docs
CPython Docs
creation time is properly available as ``st_birthtime``, and in the future ``st_ctime`` may be changed to return zero or the metadata change time, if available. .. function:: stat(path, *, dir_fd=None, follow_symlinks=True)
creation time is properly available as ``st_birthtime``, and in the future ``st_ctime`` may be changed to return zero or the metadata change time, if available. .. function:: stat(path, *, dir_fd=None, follow_symlinks=True)
python, official-docs, cpython, P0
Local_Trusted_Corpus
c1053fca-aaa6-451f-b26f-0c709221bcda
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,810
supabase-export-v2
0ebad8e387452ee4
:func:`pipe`. To read a "file object" returned by the built-in function :func:`open` or by :func:`popen` or :func:`fdopen`, or :data:`sys.stdin`, use its :meth:`~io.TextIOBase.read` or :meth:`~io.IOBase.readline` methods. .. versionchanged:: 3.5 If the system call is interrupted and the signal handler does not raise a...
trusted_official_docs
CPython Docs
:func:`pipe`. To read a "file object" returned by the built-in function :func:`open` or by :func:`popen` or :func:`fdopen`, or :data:`sys.stdin`, use its :meth:`~io.TextIOBase.read` or :meth:`~io.IOBase.readline` methods. .. versionchanged:: 3.5 If the system call is interrupted and the signal handler does not raise a...
:func:`pipe`. To read a "file object" returned by the built-in function :func:`open` or by :func:`popen` or :func:`fdopen`, or :data:`sys.stdin`, use its :meth:`~io.TextIOBase.read` or :meth:`~io.IOBase.readline` methods. .. versionchanged:: 3.5 If the system call is interrupted and the signal handler does not raise a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c1216f6e-496b-451e-a2ed-f857de88aa20
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,881
supabase-export-v2
b11091f27fb47eb5
or tuple as the *args* parameter. In either case, the arguments to the child process must start with the name of the command being run. The variants which include a second "p" near the end (:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:`PATH` environment variable to lo...
trusted_official_docs
CPython Docs
or tuple as the *args* parameter. In either case, the arguments to the child process must start with the name of the command being run. The variants which include a second "p" near the end (:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:`PATH` environment variable to lo...
or tuple as the *args* parameter. In either case, the arguments to the child process must start with the name of the command being run. The variants which include a second "p" near the end (:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:`PATH` environment variable to lo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c2513cd6-d3ec-479f-9369-52ec8add56a3
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,766
supabase-export-v2
bed1b16c219c3592
was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to :const:`errno.EAGAIN`. .. availability:: Linux >= 4.14.
trusted_official_docs
CPython Docs
was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to :const:`errno.EAGAIN`. .. availability:: Linux >= 4.14.
was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to :const:`errno.EAGAIN`. .. availability:: Linux >= 4.14.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c30d29a5-cd6a-484b-9604-1a88555edc87
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,137
supabase-export-v2
2f058170c4c56f3c
.. index:: single: directory; deleting Remove directories recursively. Works like :func:`rmdir` except that, if the leaf directory is successfully removed, :func:`removedirs` tries to successively remove every parent directory mentioned in *path* until an error is raised (which is ignored, because it generally means...
trusted_official_docs
CPython Docs
.. index:: single: directory; deleting Remove directories recursively. Works like :func:`rmdir` except that, if the leaf directory is successfully removed, :func:`removedirs` tries to successively remove every parent directory mentioned in *path* until an error is raised (which is ignored, because it generally means...
.. index:: single: directory; deleting Remove directories recursively. Works like :func:`rmdir` except that, if the leaf directory is successfully removed, :func:`removedirs` tries to successively remove every parent directory mentioned in *path* until an error is raised (which is ignored, because it generally means...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c389eef6-b518-4b65-9269-0eed7e6521ee
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,908
supabase-export-v2
0460b8cb2079844c
at the execution of a new program, other file descriptors are inherited. Note that non-inheritable file descriptors are still *inherited* by child processes on :func:`os.fork`. On Windows, non-inheritable handles and file descriptors are closed in child processes, except for standard streams (file descriptors 0, 1 and ...
trusted_official_docs
CPython Docs
at the execution of a new program, other file descriptors are inherited. Note that non-inheritable file descriptors are still *inherited* by child processes on :func:`os.fork`. On Windows, non-inheritable handles and file descriptors are closed in child processes, except for standard streams (file descriptors 0, 1 and ...
at the execution of a new program, other file descriptors are inherited. Note that non-inheritable file descriptors are still *inherited* by child processes on :func:`os.fork`. On Windows, non-inheritable handles and file descriptors are closed in child processes, except for standard streams (file descriptors 0, 1 and ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c39fe349-2867-495b-9018-2b74c07b2f74
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,265
supabase-export-v2
ae1e79a74c2b7482
Time of most recent metadata change expressed in seconds. .. versionchanged:: 3.12 ``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file creation time. In the future, ``st_ctime`` will contain the time of the most recent metadata change, as for other platforms.
trusted_official_docs
CPython Docs
Time of most recent metadata change expressed in seconds. .. versionchanged:: 3.12 ``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file creation time. In the future, ``st_ctime`` will contain the time of the most recent metadata change, as for other platforms.
Time of most recent metadata change expressed in seconds. .. versionchanged:: 3.12 ``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file creation time. In the future, ``st_ctime`` will contain the time of the most recent metadata change, as for other platforms.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c4d59ebd-ae20-4713-89d9-c31e4fcf0547
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,539
supabase-export-v2
7e38a9a5517f30a6
.. note:: Since :func:`fwalk` yields file descriptors, those are only valid until the next iteration step, so you should duplicate them (e.g. with :func:`dup`) if you want to keep them longer.
trusted_official_docs
CPython Docs
.. note:: Since :func:`fwalk` yields file descriptors, those are only valid until the next iteration step, so you should duplicate them (e.g. with :func:`dup`) if you want to keep them longer.
.. note:: Since :func:`fwalk` yields file descriptors, those are only valid until the next iteration step, so you should duplicate them (e.g. with :func:`dup`) if you want to keep them longer.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c51ce195-d294-4991-b473-79f065a6c9f7
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,508
supabase-export-v2
cdafa9f236d7d1de
with that link, and *nstype* may be set to one of the :ref:`CLONE_NEW* constants <os-unshare-clone-flags>` to impose constraints on the operation (``0`` means no constraints). Since Linux 5.8, *fd* may refer to a PID file descriptor obtained from :func:`~os.pidfd_open`. In this case, ``setns()`` reassociates the calli...
trusted_official_docs
CPython Docs
with that link, and *nstype* may be set to one of the :ref:`CLONE_NEW* constants <os-unshare-clone-flags>` to impose constraints on the operation (``0`` means no constraints). Since Linux 5.8, *fd* may refer to a PID file descriptor obtained from :func:`~os.pidfd_open`. In this case, ``setns()`` reassociates the calli...
with that link, and *nstype* may be set to one of the :ref:`CLONE_NEW* constants <os-unshare-clone-flags>` to impose constraints on the operation (``0`` means no constraints). Since Linux 5.8, *fd* may refer to a PID file descriptor obtained from :func:`~os.pidfd_open`. In this case, ``setns()`` reassociates the calli...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c5ac83ee-6a59-42dd-a225-fc6c28c35bf4
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,022
supabase-export-v2
b033c99058a86662
file is removed from or added to the directory during the call of this function, whether a name for that file be included is unspecified. *path* may be a :term:`path-like object`. If *path* is of type ``bytes`` (directly or indirectly through the :class:`PathLike` interface), the filenames returned will also be of ty...
trusted_official_docs
CPython Docs
file is removed from or added to the directory during the call of this function, whether a name for that file be included is unspecified. *path* may be a :term:`path-like object`. If *path* is of type ``bytes`` (directly or indirectly through the :class:`PathLike` interface), the filenames returned will also be of ty...
file is removed from or added to the directory during the call of this function, whether a name for that file be included is unspecified. *path* may be a :term:`path-like object`. If *path* is of type ``bytes`` (directly or indirectly through the :class:`PathLike` interface), the filenames returned will also be of ty...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c82c3014-718b-42d4-aa3c-6d87904ad07c
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,178
supabase-export-v2
f4b7761a61a8b11d
.. versionadded:: 3.6 The following example shows a simple use of :func:`scandir` to display all the files (excluding directories) in the given *path* that don't start with ``'.'``. The ``entry.is_file()`` call will generally not make an additional system call::
trusted_official_docs
CPython Docs
.. versionadded:: 3.6 The following example shows a simple use of :func:`scandir` to display all the files (excluding directories) in the given *path* that don't start with ``'.'``. The ``entry.is_file()`` call will generally not make an additional system call::
.. versionadded:: 3.6 The following example shows a simple use of :func:`scandir` to display all the files (excluding directories) in the given *path* that don't start with ``'.'``. The ``entry.is_file()`` call will generally not make an additional system call::
python, official-docs, cpython, P0
Local_Trusted_Corpus
c87cff5e-b542-41ee-9c35-649389dde9eb
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,205
supabase-export-v2
3211f469677c6c4a
.. method:: is_dir(*, follow_symlinks=True) Return ``True`` if this entry is a directory or a symbolic link pointing to a directory; return ``False`` if the entry is or points to any other kind of file, or if it doesn't exist anymore.
trusted_official_docs
CPython Docs
.. method:: is_dir(*, follow_symlinks=True) Return ``True`` if this entry is a directory or a symbolic link pointing to a directory; return ``False`` if the entry is or points to any other kind of file, or if it doesn't exist anymore.
.. method:: is_dir(*, follow_symlinks=True) Return ``True`` if this entry is a directory or a symbolic link pointing to a directory; return ``False`` if the entry is or points to any other kind of file, or if it doesn't exist anymore.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c8886fab-45c4-47d1-8291-c32ced790dc8
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,443
supabase-export-v2
a890bdb8b1b0d390
on the given path, and correspond to the members of the :c:struct:`statvfs` structure, namely: :attr:`f_bsize`, :attr:`f_frsize`, :attr:`f_blocks`, :attr:`f_bfree`, :attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`. Two module-level constants are def...
trusted_official_docs
CPython Docs
on the given path, and correspond to the members of the :c:struct:`statvfs` structure, namely: :attr:`f_bsize`, :attr:`f_frsize`, :attr:`f_blocks`, :attr:`f_bfree`, :attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`. Two module-level constants are def...
on the given path, and correspond to the members of the :c:struct:`statvfs` structure, namely: :attr:`f_bsize`, :attr:`f_frsize`, :attr:`f_blocks`, :attr:`f_bfree`, :attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`. Two module-level constants are def...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c8a82a11-19e5-4b32-a662-5981844f21db
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,439
supabase-export-v2
1fba0526b1b444db
.. data:: AT_NO_AUTOMOUNT If the final component of a path is an automount point, operate on the automount point instead of performing the automount. On Linux, :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` always behave this way.
trusted_official_docs
CPython Docs
.. data:: AT_NO_AUTOMOUNT If the final component of a path is an automount point, operate on the automount point instead of performing the automount. On Linux, :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` always behave this way.
.. data:: AT_NO_AUTOMOUNT If the final component of a path is an automount point, operate on the automount point instead of performing the automount. On Linux, :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` always behave this way.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c8b1b0aa-2407-4ce1-bc15-4f9e35f0cedc
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,638
supabase-export-v2
ed1d0226c3db130d
*name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number. As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
trusted_official_docs
CPython Docs
*name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number. As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
*name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number. As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c984c26c-952c-48e2-867c-4d4e6af888b7
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,431
supabase-export-v2
cac1eaad15d02a67
.. function:: getgrouplist(user, group, /) Return list of group ids that *user* belongs to. If *group* is not in the list, it is included; typically, *group* is specified as the group ID field from the password record for *user*, because that group ID will otherwise be potentially omitted.
trusted_official_docs
CPython Docs
.. function:: getgrouplist(user, group, /) Return list of group ids that *user* belongs to. If *group* is not in the list, it is included; typically, *group* is specified as the group ID field from the password record for *user*, because that group ID will otherwise be potentially omitted.
.. function:: getgrouplist(user, group, /) Return list of group ids that *user* belongs to. If *group* is not in the list, it is included; typically, *group* is specified as the group ID field from the password record for *user*, because that group ID will otherwise be potentially omitted.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ca13c885-aec4-4318-bab2-669f8b4da317
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,997
supabase-export-v2
1a3acad2c642adac
of *path* to the numeric *flags*, like :func:`chflags`, but do not follow symbolic links. As of Python 3.3, this is equivalent to ``os.chflags(path, flags, follow_symlinks=False)``. .. audit-event:: os.chflags path,flags os.lchflags
trusted_official_docs
CPython Docs
of *path* to the numeric *flags*, like :func:`chflags`, but do not follow symbolic links. As of Python 3.3, this is equivalent to ``os.chflags(path, flags, follow_symlinks=False)``. .. audit-event:: os.chflags path,flags os.lchflags
of *path* to the numeric *flags*, like :func:`chflags`, but do not follow symbolic links. As of Python 3.3, this is equivalent to ``os.chflags(path, flags, follow_symlinks=False)``. .. audit-event:: os.chflags path,flags os.lchflags
python, official-docs, cpython, P0
Local_Trusted_Corpus
caa67a8d-6d72-4095-aef5-96964629b6e6
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,852
supabase-export-v2
f049597802b513d4
If the *setsid* argument is ``True``, it will create a new session ID for ``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` or :c:macro:`!POSIX_SPAWN_SETSID_NP` flag. Otherwise, :exc:`NotImplementedError` is raised. The *setsigmask* argument will set the signal mask to the signal set specified. If the ...
trusted_official_docs
CPython Docs
If the *setsid* argument is ``True``, it will create a new session ID for ``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` or :c:macro:`!POSIX_SPAWN_SETSID_NP` flag. Otherwise, :exc:`NotImplementedError` is raised. The *setsigmask* argument will set the signal mask to the signal set specified. If the ...
If the *setsid* argument is ``True``, it will create a new session ID for ``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` or :c:macro:`!POSIX_SPAWN_SETSID_NP` flag. Otherwise, :exc:`NotImplementedError` is raised. The *setsigmask* argument will set the signal mask to the signal set specified. If the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cab32212-b4db-473b-9b8b-86f830cac823
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,424
supabase-export-v2
62d47026bed3572e
.. data:: STATX_TYPE STATX_MODE STATX_NLINK STATX_UID STATX_GID STATX_ATIME STATX_MTIME STATX_CTIME STATX_INO STATX_SIZE STATX_BLOCKS STATX_BASIC_STATS STATX_BTIME STATX_MNT_ID STATX_DIOALIGN STATX_MNT_ID_UNIQUE STATX_SUBVOL STATX_WRITE_ATOMIC STATX_DIO_READ_ALIGN Bitflags for use in the *mask* parameter to :func:`os.s...
trusted_official_docs
CPython Docs
.. data:: STATX_TYPE STATX_MODE STATX_NLINK STATX_UID STATX_GID STATX_ATIME STATX_MTIME STATX_CTIME STATX_INO STATX_SIZE STATX_BLOCKS STATX_BASIC_STATS STATX_BTIME STATX_MNT_ID STATX_DIOALIGN STATX_MNT_ID_UNIQUE STATX_SUBVOL STATX_WRITE_ATOMIC STATX_DIO_READ_ALIGN Bitflags for use in the *mask* parameter to :func:`os.s...
.. data:: STATX_TYPE STATX_MODE STATX_NLINK STATX_UID STATX_GID STATX_ATIME STATX_MTIME STATX_CTIME STATX_INO STATX_SIZE STATX_BLOCKS STATX_BASIC_STATS STATX_BTIME STATX_MNT_ID STATX_DIOALIGN STATX_MNT_ID_UNIQUE STATX_SUBVOL STATX_WRITE_ATOMIC STATX_DIO_READ_ALIGN Bitflags for use in the *mask* parameter to :func:`os.s...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cb8d3032-3f1f-4e19-9ab8-196c2d81ebaa
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,443
supabase-export-v2
45e4a3117716da21
the process group id of the process with process id *pid*. If *pid* is 0, the process group id of the current process is returned. .. availability:: Unix, not WASI.
trusted_official_docs
CPython Docs
the process group id of the process with process id *pid*. If *pid* is 0, the process group id of the current process is returned. .. availability:: Unix, not WASI.
the process group id of the process with process id *pid*. If *pid* is 0, the process group id of the current process is returned. .. availability:: Unix, not WASI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc085076-72f8-4eed-ab06-8a588a4a7e47
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,047
supabase-export-v2
9b568eda156f52d3
Return a list containing the volumes in the system. Volumes are typically represented as a GUID path that looks like ``\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\``. Files can usually be accessed through a GUID path, permissions allowing. However, users are generally not familiar with them, and so the recommen...
trusted_official_docs
CPython Docs
Return a list containing the volumes in the system. Volumes are typically represented as a GUID path that looks like ``\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\``. Files can usually be accessed through a GUID path, permissions allowing. However, users are generally not familiar with them, and so the recommen...
Return a list containing the volumes in the system. Volumes are typically represented as a GUID path that looks like ``\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\``. Files can usually be accessed through a GUID path, permissions allowing. However, users are generally not familiar with them, and so the recommen...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc1dc3ab-4bff-4049-a9ab-4a3a2fb6f9af
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,850
supabase-export-v2
09d72b1cb6d38957
the value of *setpgroup* is not set, the child will inherit the parent's process group ID. This argument corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag. If the *resetids* argument is ``True`` it will reset the effective UID and GID of the child to the real UID and GID of the parent process. If the...
trusted_official_docs
CPython Docs
the value of *setpgroup* is not set, the child will inherit the parent's process group ID. This argument corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag. If the *resetids* argument is ``True`` it will reset the effective UID and GID of the child to the real UID and GID of the parent process. If the...
the value of *setpgroup* is not set, the child will inherit the parent's process group ID. This argument corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag. If the *resetids* argument is ``True`` it will reset the effective UID and GID of the child to the real UID and GID of the parent process. If the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cdbda26a-0ddb-40b8-bc2a-1c307ef34ed7
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,825
supabase-export-v2
d496468aab5ded85
result (exit status) into an exit code if it is not ``None``. On Windows, the ``close`` method result is directly the exit code (or ``None``). This is implemented using :class:`subprocess.Popen`; see that class's documentation for more powerful ways to manage and communicate with subprocesses.
trusted_official_docs
CPython Docs
result (exit status) into an exit code if it is not ``None``. On Windows, the ``close`` method result is directly the exit code (or ``None``). This is implemented using :class:`subprocess.Popen`; see that class's documentation for more powerful ways to manage and communicate with subprocesses.
result (exit status) into an exit code if it is not ``None``. On Windows, the ``close`` method result is directly the exit code (or ``None``). This is implemented using :class:`subprocess.Popen`; see that class's documentation for more powerful ways to manage and communicate with subprocesses.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cdc41617-fec0-4dfa-846e-bdd8847ce859
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,710
supabase-export-v2
d89d5ad1b74f6e6a
supported on your platform; you can check whether or not it is available using :data:`os.supports_fd`. If it is unavailable, using it will raise a :exc:`NotImplementedError`. .. audit-event:: os.exec path,args,env os.execl
trusted_official_docs
CPython Docs
supported on your platform; you can check whether or not it is available using :data:`os.supports_fd`. If it is unavailable, using it will raise a :exc:`NotImplementedError`. .. audit-event:: os.exec path,args,env os.execl
supported on your platform; you can check whether or not it is available using :data:`os.supports_fd`. If it is unavailable, using it will raise a :exc:`NotImplementedError`. .. audit-event:: os.exec path,args,env os.execl
python, official-docs, cpython, P0
Local_Trusted_Corpus
cdeffba8-dac9-40eb-b501-a5dfeabd7d28
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,258
supabase-export-v2
7235bfe5cdfd9828
.. attribute:: st_size Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
trusted_official_docs
CPython Docs
.. attribute:: st_size Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
.. attribute:: st_size Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ce04a792-c8f8-459b-bef8-16b88ef058d1
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,561
supabase-export-v2
9af900c5565441c1
to a 32 bit unsigned int although the event counter is an unsigned 64 bit integer with a maximum value of 2\ :sup:`64`\ -\ 2. *flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, and :const:`EFD_SEMAPHORE`.
trusted_official_docs
CPython Docs
to a 32 bit unsigned int although the event counter is an unsigned 64 bit integer with a maximum value of 2\ :sup:`64`\ -\ 2. *flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, and :const:`EFD_SEMAPHORE`.
to a 32 bit unsigned int although the event counter is an unsigned 64 bit integer with a maximum value of 2\ :sup:`64`\ -\ 2. *flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, and :const:`EFD_SEMAPHORE`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ce0f68e6-70a4-4eaf-9af8-b58e2cbbaca8
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,128
supabase-export-v2
f183fcac273e28dd
.. function:: remove(path, *, dir_fd=None) Remove (delete) the file *path*. If *path* is a directory, an :exc:`OSError` is raised. Use :func:`rmdir` to remove directories. If the file does not exist, a :exc:`FileNotFoundError` is raised.
trusted_official_docs
CPython Docs
.. function:: remove(path, *, dir_fd=None) Remove (delete) the file *path*. If *path* is a directory, an :exc:`OSError` is raised. Use :func:`rmdir` to remove directories. If the file does not exist, a :exc:`FileNotFoundError` is raised.
.. function:: remove(path, *, dir_fd=None) Remove (delete) the file *path*. If *path* is a directory, an :exc:`OSError` is raised. Use :func:`rmdir` to remove directories. If the file does not exist, a :exc:`FileNotFoundError` is raised.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ce17d284-3793-4b3b-8c73-ac9c4a61f04a
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,994
supabase-export-v2
c33902b064785112
Return a bytestring representing the current working directory. .. versionchanged:: 3.8 The function now uses the UTF-8 encoding on Windows, rather than the ANSI code page: see :pep:`529` for the rationale. The function is no longer deprecated on Windows.
trusted_official_docs
CPython Docs
Return a bytestring representing the current working directory. .. versionchanged:: 3.8 The function now uses the UTF-8 encoding on Windows, rather than the ANSI code page: see :pep:`529` for the rationale. The function is no longer deprecated on Windows.
Return a bytestring representing the current working directory. .. versionchanged:: 3.8 The function now uses the UTF-8 encoding on Windows, rather than the ANSI code page: see :pep:`529` for the rationale. The function is no longer deprecated on Windows.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cf215477-b36f-447f-8e26-ad7ee9d88c15
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,862
supabase-export-v2
b37c31792c07baaa
the system searches for the *executable* file in the list of directories specified by the :envvar:`PATH` environment variable (in the same way as for ``execvp(3)``). .. audit-event:: os.posix_spawn path,argv,env os.posix_spawnp
trusted_official_docs
CPython Docs
the system searches for the *executable* file in the list of directories specified by the :envvar:`PATH` environment variable (in the same way as for ``execvp(3)``). .. audit-event:: os.posix_spawn path,argv,env os.posix_spawnp
the system searches for the *executable* file in the list of directories specified by the :envvar:`PATH` environment variable (in the same way as for ``execvp(3)``). .. audit-event:: os.posix_spawn path,argv,env os.posix_spawnp
python, official-docs, cpython, P0
Local_Trusted_Corpus
cfbf0b1f-2c97-42d7-b39c-5c1693cbc275
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,021
supabase-export-v2
0ca19c1e44801c3e
.. function:: listdir(path='.') Return a list containing the names of the entries in the directory given by *path*. The list is in arbitrary order, and does not include the special entries ``'.'`` and ``'..'`` even if they are present in the directory. If a file is removed from or added to the directory during the ca...
trusted_official_docs
CPython Docs
.. function:: listdir(path='.') Return a list containing the names of the entries in the directory given by *path*. The list is in arbitrary order, and does not include the special entries ``'.'`` and ``'..'`` even if they are present in the directory. If a file is removed from or added to the directory during the ca...
.. function:: listdir(path='.') Return a list containing the names of the entries in the directory given by *path*. The list is in arbitrary order, and does not include the special entries ``'.'`` and ``'..'`` even if they are present in the directory. If a file is removed from or added to the directory during the ca...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cff7d3f6-6675-438f-920c-f64ac34d6abf
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,198
supabase-export-v2
2c8864e2941fc15b
.. attribute:: path The entry's full path name: equivalent to ``os.path.join(scandir_path, entry.name)`` where *scandir_path* is the :func:`scandir` *path* argument. The path is only absolute if the :func:`scandir` *path* argument was absolute. If the :func:`scandir` *path* argument was a :ref:`file descriptor <pat...
trusted_official_docs
CPython Docs
.. attribute:: path The entry's full path name: equivalent to ``os.path.join(scandir_path, entry.name)`` where *scandir_path* is the :func:`scandir` *path* argument. The path is only absolute if the :func:`scandir` *path* argument was absolute. If the :func:`scandir` *path* argument was a :ref:`file descriptor <pat...
.. attribute:: path The entry's full path name: equivalent to ``os.path.join(scandir_path, entry.name)`` where *scandir_path* is the :func:`scandir` *path* argument. The path is only absolute if the :func:`scandir` *path* argument was absolute. If the :func:`scandir` *path* argument was a :ref:`file descriptor <pat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d10ecbff-3f80-44dc-885b-87c871c29c81
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,203
supabase-export-v2
916f75263e383d06
The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry.path, follow_symlinks=False).st_ino`` to fetch up-to-date information. On the first, uncached call, a system call is required on Windows but not on Unix.
trusted_official_docs
CPython Docs
The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry.path, follow_symlinks=False).st_ino`` to fetch up-to-date information. On the first, uncached call, a system call is required on Windows but not on Unix.
The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry.path, follow_symlinks=False).st_ino`` to fetch up-to-date information. On the first, uncached call, a system call is required on Windows but not on Unix.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d14b6ae8-007b-4e8a-87fe-1379ad47bcf4
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,868
supabase-export-v2
587d781822e98e20
a new child process is forked using :func:`os.fork` or similar process cloning APIs. The parameters are optional and keyword-only. Each specifies a different call point. * *before* is a function called before forking a child process. * *after_in_parent* is a function called from the parent process after forking a chil...
trusted_official_docs
CPython Docs
a new child process is forked using :func:`os.fork` or similar process cloning APIs. The parameters are optional and keyword-only. Each specifies a different call point. * *before* is a function called before forking a child process. * *after_in_parent* is a function called from the parent process after forking a chil...
a new child process is forked using :func:`os.fork` or similar process cloning APIs. The parameters are optional and keyword-only. Each specifies a different call point. * *before* is a function called before forking a child process. * *after_in_parent* is a function called from the parent process after forking a chil...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d166e9e2-6116-42e8-a48f-786c65e5806d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,874
supabase-export-v2
7503bd994b42f9d8
.. function:: unlockpt(fd, /) Unlock the slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
trusted_official_docs
CPython Docs
.. function:: unlockpt(fd, /) Unlock the slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
.. function:: unlockpt(fd, /) Unlock the slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d20d6809-b8e3-49ad-9585-473c73c25bba
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,880
supabase-export-v2
ebc99aeca2b971bd
Note on VxWorks, this function doesn't return ``-signal`` when the new process is killed. Instead it raises OSError exception. The "l" and "v" variants of the :func:`spawn\* <spawnl>` functions differ in how command-line arguments are passed. The "l" variants are perhaps the easiest to work with if the number of para...
trusted_official_docs
CPython Docs
Note on VxWorks, this function doesn't return ``-signal`` when the new process is killed. Instead it raises OSError exception. The "l" and "v" variants of the :func:`spawn\* <spawnl>` functions differ in how command-line arguments are passed. The "l" variants are perhaps the easiest to work with if the number of para...
Note on VxWorks, this function doesn't return ``-signal`` when the new process is killed. Instead it raises OSError exception. The "l" and "v" variants of the :func:`spawn\* <spawnl>` functions differ in how command-line arguments are passed. The "l" variants are perhaps the easiest to work with if the number of para...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d22377f5-f314-4e23-9337-c89551560a24
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,819
supabase-export-v2
60c4185c5b3daa48
.. function:: sendfile(out_fd, in_fd, offset, count) sendfile(out_fd, in_fd, offset, count, headers=(), trailers=(), flags=0) Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* starting at *offset*. Return the number of bytes sent. When EOF is reached return ``0``.
trusted_official_docs
CPython Docs
.. function:: sendfile(out_fd, in_fd, offset, count) sendfile(out_fd, in_fd, offset, count, headers=(), trailers=(), flags=0) Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* starting at *offset*. Return the number of bytes sent. When EOF is reached return ``0``.
.. function:: sendfile(out_fd, in_fd, offset, count) sendfile(out_fd, in_fd, offset, count, headers=(), trailers=(), flags=0) Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* starting at *offset*. Return the number of bytes sent. When EOF is reached return ``0``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d22d3ef9-3add-45c5-9f32-3dd21154c748
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,052
supabase-export-v2
0076e977d91553c5
.. function:: lstat(path, *, dir_fd=None) Perform the equivalent of an :c:func:`!lstat` system call on the given path. Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :class:`stat_result` object.
trusted_official_docs
CPython Docs
.. function:: lstat(path, *, dir_fd=None) Perform the equivalent of an :c:func:`!lstat` system call on the given path. Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :class:`stat_result` object.
.. function:: lstat(path, *, dir_fd=None) Perform the equivalent of an :c:func:`!lstat` system call on the given path. Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :class:`stat_result` object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d2310418-6be7-4345-9004-918356569d55
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,786
supabase-export-v2
d9e80df2ef610788
.. function:: forkpty() Fork a child process, using a new pseudo-terminal as the child's controlling terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, the new child's process id in the parent, and *fd* is the file descriptor of the master end of the pseudo-terminal. For a more portable app...
trusted_official_docs
CPython Docs
.. function:: forkpty() Fork a child process, using a new pseudo-terminal as the child's controlling terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, the new child's process id in the parent, and *fd* is the file descriptor of the master end of the pseudo-terminal. For a more portable app...
.. function:: forkpty() Fork a child process, using a new pseudo-terminal as the child's controlling terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, the new child's process id in the parent, and *fd* is the file descriptor of the master end of the pseudo-terminal. For a more portable app...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d24d2919-bf5d-48aa-82b5-11a6885ace70
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,588
supabase-export-v2
ddacc87569eaf273
These functions operate on I/O streams referenced using file descriptors. File descriptors are small integers corresponding to a file that has been opened by the current process. For example, standard input is usually file descriptor 0, standard output is 1, and standard error is 2. Further files opened by a process wi...
trusted_official_docs
CPython Docs
These functions operate on I/O streams referenced using file descriptors. File descriptors are small integers corresponding to a file that has been opened by the current process. For example, standard input is usually file descriptor 0, standard output is 1, and standard error is 2. Further files opened by a process wi...
These functions operate on I/O streams referenced using file descriptors. File descriptors are small integers corresponding to a file that has been opened by the current process. For example, standard input is usually file descriptor 0, standard output is 1, and standard error is 2. Further files opened by a process wi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d3daacc0-4b20-47fc-8511-97fbac96190f
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,131
supabase-export-v2
728b8a003a28109d
the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use. This function is semantically identical to :func:`unlink`.
trusted_official_docs
CPython Docs
the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use. This function is semantically identical to :func:`unlink`.
the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use. This function is semantically identical to :func:`unlink`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d4878a5b-c70c-4e09-9de6-504d8e707538
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,782
supabase-export-v2
d651ae16eb6f9f3e
always made API calls that are not safe for use in the child process when threads existed in the parent (such as ``malloc`` and ``free``). Users of macOS or users of libc or malloc implementations other than those typically found in glibc to date are among those already more likely to experience deadlocks running suc...
trusted_official_docs
CPython Docs
always made API calls that are not safe for use in the child process when threads existed in the parent (such as ``malloc`` and ``free``). Users of macOS or users of libc or malloc implementations other than those typically found in glibc to date are among those already more likely to experience deadlocks running suc...
always made API calls that are not safe for use in the child process when threads existed in the parent (such as ``malloc`` and ``free``). Users of macOS or users of libc or malloc implementations other than those typically found in glibc to date are among those already more likely to experience deadlocks running suc...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d48e80f1-9585-405c-96e1-e5e0ff787d6d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,705
supabase-export-v2
6b182525174a9107
new executable is loaded into the current process, and will have the same process id as the caller. Errors will be reported as :exc:`OSError` exceptions. The current process is replaced immediately. Open file objects and descriptors are not flushed, so if there may be data buffered on these open files, you should flu...
trusted_official_docs
CPython Docs
new executable is loaded into the current process, and will have the same process id as the caller. Errors will be reported as :exc:`OSError` exceptions. The current process is replaced immediately. Open file objects and descriptors are not flushed, so if there may be data buffered on these open files, you should flu...
new executable is loaded into the current process, and will have the same process id as the caller. Errors will be reported as :exc:`OSError` exceptions. The current process is replaced immediately. Open file objects and descriptors are not flushed, so if there may be data buffered on these open files, you should flu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d4cc34f3-94cc-43d4-93b6-58839238e11d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,584
supabase-export-v2
00d2bdd0bdca85b2
.. function:: fdopen(fd, *args, **kwargs) Return an open file object connected to the file descriptor *fd*. This is an alias of the :func:`open` built-in function and accepts the same arguments. The only difference is that the first argument of :func:`fdopen` must always be an integer.
trusted_official_docs
CPython Docs
.. function:: fdopen(fd, *args, **kwargs) Return an open file object connected to the file descriptor *fd*. This is an alias of the :func:`open` built-in function and accepts the same arguments. The only difference is that the first argument of :func:`fdopen` must always be an integer.
.. function:: fdopen(fd, *args, **kwargs) Return an open file object connected to the file descriptor *fd*. This is an alias of the :func:`open` built-in function and accepts the same arguments. The only difference is that the first argument of :func:`fdopen` must always be an integer.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d528a493-cac9-4a1f-9725-722f9f2c7536
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,413
supabase-export-v2
cc1da8b197c9c62d
.. function:: getenvb(key, default=None) Return the value of the environment variable *key* as bytes if it exists, or *default* if it doesn't. *key* must be bytes. Note that since :func:`getenvb` uses :data:`os.environb`, the mapping of :func:`getenvb` is similarly also captured on import, and the function may not r...
trusted_official_docs
CPython Docs
.. function:: getenvb(key, default=None) Return the value of the environment variable *key* as bytes if it exists, or *default* if it doesn't. *key* must be bytes. Note that since :func:`getenvb` uses :data:`os.environb`, the mapping of :func:`getenvb` is similarly also captured on import, and the function may not r...
.. function:: getenvb(key, default=None) Return the value of the environment variable *key* as bytes if it exists, or *default* if it doesn't. *key* must be bytes. Note that since :func:`getenvb` uses :data:`os.environb`, the mapping of :func:`getenvb` is similarly also captured on import, and the function may not r...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d56cae5f-a7d9-45d4-851b-b3ee8faa2949
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,118
supabase-export-v2
90b80ddd1f79938e
The result may be either an absolute or relative pathname; if it is relative, it may be converted to an absolute pathname using ``os.path.join(os.path.dirname(path), result)``. If the *path* is a string object (directly or indirectly through a :class:`PathLike` interface), the result will also be a string object, and...
trusted_official_docs
CPython Docs
The result may be either an absolute or relative pathname; if it is relative, it may be converted to an absolute pathname using ``os.path.join(os.path.dirname(path), result)``. If the *path* is a string object (directly or indirectly through a :class:`PathLike` interface), the result will also be a string object, and...
The result may be either an absolute or relative pathname; if it is relative, it may be converted to an absolute pathname using ``os.path.join(os.path.dirname(path), result)``. If the *path* is a string object (directly or indirectly through a :class:`PathLike` interface), the result will also be a string object, and...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d5863f4b-0c9f-44e9-87ac-3ab4b055bb9e
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,184
supabase-export-v2
ce89c923fd11322a
:term:`context manager` protocol and the :func:`~scandir.close` method. If a :func:`scandir` iterator is neither exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted in its destructor. The function accepts a :term:`path-like object`.
trusted_official_docs
CPython Docs
:term:`context manager` protocol and the :func:`~scandir.close` method. If a :func:`scandir` iterator is neither exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted in its destructor. The function accepts a :term:`path-like object`.
:term:`context manager` protocol and the :func:`~scandir.close` method. If a :func:`scandir` iterator is neither exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted in its destructor. The function accepts a :term:`path-like object`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d5d75149-8cdb-492c-8670-b8f64911ea2d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,213
supabase-export-v2
baa412e5d31e723c
entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Caching, system calls made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`.
trusted_official_docs
CPython Docs
entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Caching, system calls made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`.
entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Caching, system calls made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6428854-6b96-429c-aef4-5778c83462c9
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,708
supabase-export-v2
b0b1b07454aacabc
.. versionchanged:: 3.6 Accepts a :term:`path-like object`. The following constants are options for the *flags* parameter to the :func:`~os.open` function. They can be combined using the bitwise OR operator ``|``. Some of them are not available on all platforms. For descriptions of their availability and use, consult t...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.6 Accepts a :term:`path-like object`. The following constants are options for the *flags* parameter to the :func:`~os.open` function. They can be combined using the bitwise OR operator ``|``. Some of them are not available on all platforms. For descriptions of their availability and use, consult t...
.. versionchanged:: 3.6 Accepts a :term:`path-like object`. The following constants are options for the *flags* parameter to the :func:`~os.open` function. They can be combined using the bitwise OR operator ``|``. Some of them are not available on all platforms. For descriptions of their availability and use, consult t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d66178dd-509d-4c75-99d7-966e8c65547d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,119
supabase-export-v2
ee7a44c4aa7c0af0
object, and the call may raise a UnicodeDecodeError. If the *path* is a bytes object (direct or indirectly), the result will be a bytes object. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
trusted_official_docs
CPython Docs
object, and the call may raise a UnicodeDecodeError. If the *path* is a bytes object (direct or indirectly), the result will be a bytes object. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
object, and the call may raise a UnicodeDecodeError. If the *path* is a bytes object (direct or indirectly), the result will be a bytes object. This function can also support :ref:`paths relative to directory descriptors <dir_fd>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6727f1c-3535-40f5-b522-f5ed76975e47
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,733
supabase-export-v2
be2ceb31854d402d
by ORing together one or more of these values: :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing, respectively. .. availability:: Unix, not WASI.
trusted_official_docs
CPython Docs
by ORing together one or more of these values: :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing, respectively. .. availability:: Unix, not WASI.
by ORing together one or more of these values: :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing, respectively. .. availability:: Unix, not WASI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6b81530-30b8-486b-b11e-f6f204701529
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,350
supabase-export-v2
7362a49f79f0bb34
by default (:pep:`686`). It may be disabled by setting :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` as an environment variable or by using the :option:`-X utf8=0 <-X>` command line option. The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
trusted_official_docs
CPython Docs
by default (:pep:`686`). It may be disabled by setting :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` as an environment variable or by using the :option:`-X utf8=0 <-X>` command line option. The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
by default (:pep:`686`). It may be disabled by setting :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` as an environment variable or by using the :option:`-X utf8=0 <-X>` command line option. The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
python, official-docs, cpython, P0
Local_Trusted_Corpus
d79269b0-2c6d-48dd-ac14-04590b66bc27
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,942
supabase-export-v2
38ed4abde212f9fc
.. note:: I/O operations may fail even when :func:`access` indicates that they would succeed, particularly for operations on network filesystems which may have permissions semantics beyond the usual POSIX permission-bit model.
trusted_official_docs
CPython Docs
.. note:: I/O operations may fail even when :func:`access` indicates that they would succeed, particularly for operations on network filesystems which may have permissions semantics beyond the usual POSIX permission-bit model.
.. note:: I/O operations may fail even when :func:`access` indicates that they would succeed, particularly for operations on network filesystems which may have permissions semantics beyond the usual POSIX permission-bit model.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d7a0ed92-b8fe-4ff9-87b5-ab2f17f8c8ee
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,344
supabase-export-v2
4ab4aceaf331da1b
handler>` must guarantee to successfully decode all bytes below 128. If the file system encoding fails to provide this guarantee, API functions can raise :exc:`UnicodeError`. See also the :term:`locale encoding`.
trusted_official_docs
CPython Docs
handler>` must guarantee to successfully decode all bytes below 128. If the file system encoding fails to provide this guarantee, API functions can raise :exc:`UnicodeError`. See also the :term:`locale encoding`.
handler>` must guarantee to successfully decode all bytes below 128. If the file system encoding fails to provide this guarantee, API functions can raise :exc:`UnicodeError`. See also the :term:`locale encoding`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d7c7c550-e325-428a-be1b-4926c858bcc9
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,802
supabase-export-v2
ad7a685f3d95d3e7
.. data:: RWF_APPEND Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. This flag is meaningful only for :func:`os.pwritev`, and its effect applies only to the data range written by the system call. The *offset* argument does not affect the write operation; the data is always appended to t...
trusted_official_docs
CPython Docs
.. data:: RWF_APPEND Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. This flag is meaningful only for :func:`os.pwritev`, and its effect applies only to the data range written by the system call. The *offset* argument does not affect the write operation; the data is always appended to t...
.. data:: RWF_APPEND Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. This flag is meaningful only for :func:`os.pwritev`, and its effect applies only to the data range written by the system call. The *offset* argument does not affect the write operation; the data is always appended to t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d7efe056-540c-4785-92e2-c6fac422603f
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,793
supabase-export-v2
4bec0d44c1e550b8
versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`. .. versionchanged:: 3.15 The returned file descriptor is now made non-inheritable.
trusted_official_docs
CPython Docs
versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`. .. versionchanged:: 3.15 The returned file descriptor is now made non-inheritable.
versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`. .. versionchanged:: 3.15 The returned file descriptor is now made non-inheritable.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d8751c22-0bd7-43b3-836f-9ed1141d21b8
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,764
supabase-export-v2
77dfd8c48001ddb5
.. data:: RWF_NOWAIT Do not wait for data which is not immediately available. If this flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
trusted_official_docs
CPython Docs
.. data:: RWF_NOWAIT Do not wait for data which is not immediately available. If this flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
.. data:: RWF_NOWAIT Do not wait for data which is not immediately available. If this flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d8809898-4881-4d30-b051-02551c45721a
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,523
supabase-export-v2
3d32431d37d65619
of the calling process. *priority* is a value in the range -20 to 19. The default priority is 0; lower priorities cause more favorable scheduling. .. availability:: Unix, not WASI.
trusted_official_docs
CPython Docs
of the calling process. *priority* is a value in the range -20 to 19. The default priority is 0; lower priorities cause more favorable scheduling. .. availability:: Unix, not WASI.
of the calling process. *priority* is a value in the range -20 to 19. The default priority is 0; lower priorities cause more favorable scheduling. .. availability:: Unix, not WASI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d8fd6082-72be-45fc-86a0-1e65c4b8ca28
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,196
supabase-export-v2
dfc2d10ceb8aaaae
The entry's base filename, relative to the :func:`scandir` *path* argument. The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os.fsdecode` to decode byte filenames.
trusted_official_docs
CPython Docs
The entry's base filename, relative to the :func:`scandir` *path* argument. The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os.fsdecode` to decode byte filenames.
The entry's base filename, relative to the :func:`scandir` *path* argument. The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os.fsdecode` to decode byte filenames.
python, official-docs, cpython, P0
Local_Trusted_Corpus
db363b2d-2f86-426c-9a35-0c36f9d19402
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,212
supabase-export-v2
1f93715a256267df
pointing to a file; return ``False`` if the entry is or points to a directory or other non-file entry, or if it doesn't exist anymore. If *follow_symlinks* is ``False``, return ``True`` only if this entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or ...
trusted_official_docs
CPython Docs
pointing to a file; return ``False`` if the entry is or points to a directory or other non-file entry, or if it doesn't exist anymore. If *follow_symlinks* is ``False``, return ``True`` only if this entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or ...
pointing to a file; return ``False`` if the entry is or points to a directory or other non-file entry, or if it doesn't exist anymore. If *follow_symlinks* is ``False``, return ``True`` only if this entry is a file (without following symlinks); return ``False`` if the entry is a directory or other non-file entry, or ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbe204e0-070a-45db-9a1f-e73f081abed0
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,708
supabase-export-v2
8171556b817cfb58
contain an appropriate absolute or relative path. Relative paths must include at least one slash, even on Windows, as plain names will not be resolved. For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` (note that these all end in "e"), the *env* parameter must be a mapping which is used to defi...
trusted_official_docs
CPython Docs
contain an appropriate absolute or relative path. Relative paths must include at least one slash, even on Windows, as plain names will not be resolved. For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` (note that these all end in "e"), the *env* parameter must be a mapping which is used to defi...
contain an appropriate absolute or relative path. Relative paths must include at least one slash, even on Windows, as plain names will not be resolved. For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` (note that these all end in "e"), the *env* parameter must be a mapping which is used to defi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dc7ff152-22d8-4f30-ab3f-d93248a26c53
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,750
supabase-export-v2
03508df549cdba94
Open and return a file descriptor for a master pseudo-terminal device. Calls the C standard library function :c:func:`posix_openpt`. The *oflag* argument is used to set file status flags and file access modes as specified in the manual page of :c:func:`posix_openpt` of your system.
trusted_official_docs
CPython Docs
Open and return a file descriptor for a master pseudo-terminal device. Calls the C standard library function :c:func:`posix_openpt`. The *oflag* argument is used to set file status flags and file access modes as specified in the manual page of :c:func:`posix_openpt` of your system.
Open and return a file descriptor for a master pseudo-terminal device. Calls the C standard library function :c:func:`posix_openpt`. The *oflag* argument is used to set file status flags and file access modes as specified in the manual page of :c:func:`posix_openpt` of your system.
python, official-docs, cpython, P0
Local_Trusted_Corpus
de9f2fe3-4a50-4e67-bbf8-90f474adf734
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,780
supabase-export-v2
949d82f2a6aced5e
.. versionchanged:: 3.8 Calling ``fork()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.8 Calling ``fork()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`.
.. versionchanged:: 3.8 Calling ``fork()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
deb04266-f456-489d-bd94-e2d3861655eb
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,095
supabase-export-v2
40694d31d0b1d30a
.. function:: mknod(path, mode=0o600, device=0, *, dir_fd=None) Create a filesystem node (file, device special file or named pipe) named *path*. *mode* specifies both the permissions to use and the type of node to be created, being combined (bitwise OR) with one of :const:`stat.S_IFREG`, :const:`stat.S_IFCHR`, :cons...
trusted_official_docs
CPython Docs
.. function:: mknod(path, mode=0o600, device=0, *, dir_fd=None) Create a filesystem node (file, device special file or named pipe) named *path*. *mode* specifies both the permissions to use and the type of node to be created, being combined (bitwise OR) with one of :const:`stat.S_IFREG`, :const:`stat.S_IFCHR`, :cons...
.. function:: mknod(path, mode=0o600, device=0, *, dir_fd=None) Create a filesystem node (file, device special file or named pipe) named *path*. *mode* specifies both the permissions to use and the type of node to be created, being combined (bitwise OR) with one of :const:`stat.S_IFREG`, :const:`stat.S_IFCHR`, :cons...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dfc8c654-adbe-464d-87e1-e10af965bedf
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,217
supabase-export-v2
7c75c9198021e65b
The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.islink` to fetch up-to-date information. On the first, uncached call, no system call is required in most cases. Specifically, neither Windows or Unix require a system call, except on certain Unix file systems, such as network file systems, that re...
trusted_official_docs
CPython Docs
The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.islink` to fetch up-to-date information. On the first, uncached call, no system call is required in most cases. Specifically, neither Windows or Unix require a system call, except on certain Unix file systems, such as network file systems, that re...
The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.islink` to fetch up-to-date information. On the first, uncached call, no system call is required in most cases. Specifically, neither Windows or Unix require a system call, except on certain Unix file systems, such as network file systems, that re...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e0668d1f-c147-4eb4-82bf-fd91d18b4e99
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,614
supabase-export-v2
60fd27ccee1397be
- :const:`TFD_TIMER_ABSTIME` - :const:`TFD_TIMER_CANCEL_ON_SET` The timer is disabled by setting *initial* to zero (``0``). If *initial* is equal to or greater than zero, the timer is enabled. If *initial* is less than zero, it raises an :class:`OSError` exception with ``errno`` set to :const:`errno.EINVAL`
trusted_official_docs
CPython Docs
- :const:`TFD_TIMER_ABSTIME` - :const:`TFD_TIMER_CANCEL_ON_SET` The timer is disabled by setting *initial* to zero (``0``). If *initial* is equal to or greater than zero, the timer is enabled. If *initial* is less than zero, it raises an :class:`OSError` exception with ``errno`` set to :const:`errno.EINVAL`
- :const:`TFD_TIMER_ABSTIME` - :const:`TFD_TIMER_CANCEL_ON_SET` The timer is disabled by setting *initial* to zero (``0``). If *initial* is equal to or greater than zero, the timer is enabled. If *initial* is less than zero, it raises an :class:`OSError` exception with ``errno`` set to :const:`errno.EINVAL`
python, official-docs, cpython, P0
Local_Trusted_Corpus
e0734761-5fd7-4ba8-a569-9288e82fcf59
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,366
supabase-export-v2
6edd933ddae3c40a
that represent the process environment. For example, ``environ['HOME']`` is the pathname of your home directory (on some platforms), and is equivalent to ``getenv("HOME")`` in C. This mapping is captured the first time the :mod:`!os` module is imported, typically during Python startup as part of processing :file:`site...
trusted_official_docs
CPython Docs
that represent the process environment. For example, ``environ['HOME']`` is the pathname of your home directory (on some platforms), and is equivalent to ``getenv("HOME")`` in C. This mapping is captured the first time the :mod:`!os` module is imported, typically during Python startup as part of processing :file:`site...
that represent the process environment. For example, ``environ['HOME']`` is the pathname of your home directory (on some platforms), and is equivalent to ``getenv("HOME")`` in C. This mapping is captured the first time the :mod:`!os` module is imported, typically during Python startup as part of processing :file:`site...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e1a5bcea-84ec-4066-9517-490734ef40e3
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,221
supabase-export-v2
e7816b73038d49bb
(even if broken); return ``False`` if the entry points to a regular directory, any kind of file, a symlink, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.isjunction` to fetch up-to-date information.
trusted_official_docs
CPython Docs
(even if broken); return ``False`` if the entry points to a regular directory, any kind of file, a symlink, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.isjunction` to fetch up-to-date information.
(even if broken); return ``False`` if the entry points to a regular directory, any kind of file, a symlink, or if it doesn't exist anymore. The result is cached on the ``os.DirEntry`` object. Call :func:`os.path.isjunction` to fetch up-to-date information.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e1ef41d6-c3eb-4e13-b0ac-6c7756b1140b
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,792
supabase-export-v2
e5a24f09b3429240
.. versionchanged:: 3.8 Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.8 Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`.
.. versionchanged:: 3.8 Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:`RuntimeError` is raised). .. versionchanged:: 3.12 If Python is able to detect that your process has multiple threads, this now raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os.fork`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e2164b30-c883-4b00-a6c4-01f0ee50135f
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,834
supabase-export-v2
449474f9b49f61f3
The positional-only arguments *path*, *args*, and *env* are similar to :func:`execve`. *env* is allowed to be ``None``, in which case current process' environment is used. The *path* parameter is the path to the executable file. The *path* should contain a directory. Use :func:`posix_spawnp` to pass an executable file...
trusted_official_docs
CPython Docs
The positional-only arguments *path*, *args*, and *env* are similar to :func:`execve`. *env* is allowed to be ``None``, in which case current process' environment is used. The *path* parameter is the path to the executable file. The *path* should contain a directory. Use :func:`posix_spawnp` to pass an executable file...
The positional-only arguments *path*, *args*, and *env* are similar to :func:`execve`. *env* is allowed to be ``None``, in which case current process' environment is used. The *path* parameter is the path to the executable file. The *path* should contain a directory. Use :func:`posix_spawnp` to pass an executable file...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e24f5af3-05fc-4377-b32f-733302d8a814
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,527
supabase-export-v2
9d949de4f76aaf53
displays the number of bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any ``__pycache__`` subdirectory:: import os from os.path import join, getsize for root, dirs, files in os.walk('python/Lib/xml'): print(root, "consumes", end=" ") print(sum(ge...
trusted_official_docs
CPython Docs
displays the number of bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any ``__pycache__`` subdirectory:: import os from os.path import join, getsize for root, dirs, files in os.walk('python/Lib/xml'): print(root, "consumes", end=" ") print(sum(ge...
displays the number of bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any ``__pycache__`` subdirectory:: import os from os.path import join, getsize for root, dirs, files in os.walk('python/Lib/xml'): print(root, "consumes", end=" ") print(sum(ge...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e26b7695-6bec-4a12-a7a3-ff7d7fa7283d
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,384
supabase-export-v2
bfd8ca2d1b8d9fa2
.. function:: reload_environ() The :data:`os.environ` and :data:`os.environb` mappings are a cache of environment variables at the time that Python started. As such, changes to the current process environment are not reflected if made outside Python, or by :func:`os.putenv` or :func:`os.unsetenv`. Use :func:`!os.relo...
trusted_official_docs
CPython Docs
.. function:: reload_environ() The :data:`os.environ` and :data:`os.environb` mappings are a cache of environment variables at the time that Python started. As such, changes to the current process environment are not reflected if made outside Python, or by :func:`os.putenv` or :func:`os.unsetenv`. Use :func:`!os.relo...
.. function:: reload_environ() The :data:`os.environ` and :data:`os.environb` mappings are a cache of environment variables at the time that Python started. As such, changes to the current process environment are not reflected if made outside Python, or by :func:`os.putenv` or :func:`os.unsetenv`. Use :func:`!os.relo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e2a2a757-df89-4614-8ab2-de4e7f9c4f06
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,969
supabase-export-v2
64f063959872780b
(via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants or a corresponding integer value). All other bits are ignored. The default value of *follow_symlinks* is ``False`` on Windows. The function is limited on WASI, see :ref:`wasm-availability` for more information.
trusted_official_docs
CPython Docs
(via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants or a corresponding integer value). All other bits are ignored. The default value of *follow_symlinks* is ``False`` on Windows. The function is limited on WASI, see :ref:`wasm-availability` for more information.
(via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants or a corresponding integer value). All other bits are ignored. The default value of *follow_symlinks* is ``False`` on Windows. The function is limited on WASI, see :ref:`wasm-availability` for more information.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e2a32db9-c216-450e-9015-41a1c0492d0a
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,604
supabase-export-v2
3441b57f520b4289
procfs and sysfs. It will always copy no bytes and return 0 as if the file was empty because of a known Linux kernel issue. .. availability:: Linux >= 4.5 with glibc >= 2.27.
trusted_official_docs
CPython Docs
procfs and sysfs. It will always copy no bytes and return 0 as if the file was empty because of a known Linux kernel issue. .. availability:: Linux >= 4.5 with glibc >= 2.27.
procfs and sysfs. It will always copy no bytes and return 0 as if the file was empty because of a known Linux kernel issue. .. availability:: Linux >= 4.5 with glibc >= 2.27.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e325260f-19ae-4eff-930d-8f1770fee6ea
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,696
supabase-export-v2
27d5fe98e63ba1fe
Add a path to the DLL search path. This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
trusted_official_docs
CPython Docs
Add a path to the DLL search path. This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
Add a path to the DLL search path. This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e338ed84-2baa-4bef-919b-eb267a736723
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,628
supabase-export-v2
8df15b90f85f884d
*gid*. To leave one of the ids unchanged, set it to -1. See :func:`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``. .. audit-event:: os.chown path,uid,gid,dir_fd os.fchown
trusted_official_docs
CPython Docs
*gid*. To leave one of the ids unchanged, set it to -1. See :func:`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``. .. audit-event:: os.chown path,uid,gid,dir_fd os.fchown
*gid*. To leave one of the ids unchanged, set it to -1. See :func:`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``. .. audit-event:: os.chown path,uid,gid,dir_fd os.fchown
python, official-docs, cpython, P0
Local_Trusted_Corpus
e360574e-8849-4e20-a0e3-46bb9fc571f5
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,774
supabase-export-v2
36f60ef283ac6019
Fork a child process. Return ``0`` in the child and the child's process id in the parent. If an error occurs :exc:`OSError` is raised. Note that some platforms including FreeBSD <= 6.3 and Cygwin have known issues when using ``fork()`` from a thread.
trusted_official_docs
CPython Docs
Fork a child process. Return ``0`` in the child and the child's process id in the parent. If an error occurs :exc:`OSError` is raised. Note that some platforms including FreeBSD <= 6.3 and Cygwin have known issues when using ``fork()`` from a thread.
Fork a child process. Return ``0`` in the child and the child's process id in the parent. If an error occurs :exc:`OSError` is raised. Note that some platforms including FreeBSD <= 6.3 and Cygwin have known issues when using ``fork()`` from a thread.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e3d4300e-d345-4cdb-990b-ff6fd72a4de9
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,665
supabase-export-v2
fc32fa463b73972f
.. function:: listxattr(path=None, *, follow_symlinks=True) Return a list of the extended filesystem attributes on *path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory.
trusted_official_docs
CPython Docs
.. function:: listxattr(path=None, *, follow_symlinks=True) Return a list of the extended filesystem attributes on *path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory.
.. function:: listxattr(path=None, *, follow_symlinks=True) Return a list of the extended filesystem attributes on *path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e4e55059-e6e5-4944-9862-91c87014c1a4
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,687
supabase-export-v2
862632d7e1666e35
Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` method on :term:`file-like objects <file object>`, for whence to adjust the file position indicator. :const:`SEEK_SET` Adjust the file position relative to the beginning of the file. :const:`SEEK_CUR` Adjust the file position relative to the cur...
trusted_official_docs
CPython Docs
Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` method on :term:`file-like objects <file object>`, for whence to adjust the file position indicator. :const:`SEEK_SET` Adjust the file position relative to the beginning of the file. :const:`SEEK_CUR` Adjust the file position relative to the cur...
Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` method on :term:`file-like objects <file object>`, for whence to adjust the file position indicator. :const:`SEEK_SET` Adjust the file position relative to the beginning of the file. :const:`SEEK_CUR` Adjust the file position relative to the cur...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e595bd03-8c01-47a3-a694-78804fd6ff8a
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,907
supabase-export-v2
ca581c4629e0c8a2
flag which indicates if the file descriptor can be inherited by child processes. Since Python 3.4, file descriptors created by Python are non-inheritable by default. On UNIX, non-inheritable file descriptors are closed in child processes at the execution of a new program, other file descriptors are inherited. Note that...
trusted_official_docs
CPython Docs
flag which indicates if the file descriptor can be inherited by child processes. Since Python 3.4, file descriptors created by Python are non-inheritable by default. On UNIX, non-inheritable file descriptors are closed in child processes at the execution of a new program, other file descriptors are inherited. Note that...
flag which indicates if the file descriptor can be inherited by child processes. Since Python 3.4, file descriptors created by Python are non-inheritable by default. On UNIX, non-inheritable file descriptors are closed in child processes at the execution of a new program, other file descriptors are inherited. Note that...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e5be8eaf-6c55-4e19-b7c1-3f1aaa80b6df
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,169
supabase-export-v2
112bd45e82fcc453
If a file is removed from or added to the directory after creating the iterator, whether an entry for that file be included is unspecified. Using :func:`scandir` instead of :func:`listdir` can significantly increase the performance of code that also needs file type or file attribute information, because :class:`os.Di...
trusted_official_docs
CPython Docs
If a file is removed from or added to the directory after creating the iterator, whether an entry for that file be included is unspecified. Using :func:`scandir` instead of :func:`listdir` can significantly increase the performance of code that also needs file type or file attribute information, because :class:`os.Di...
If a file is removed from or added to the directory after creating the iterator, whether an entry for that file be included is unspecified. Using :func:`scandir` instead of :func:`listdir` can significantly increase the performance of code that also needs file type or file attribute information, because :class:`os.Di...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e5ce95ba-788d-49df-b168-f0f305183d45
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,042
supabase-export-v2
be4ebac85610694c
The mount points return by this function will be absolute paths, and may be longer than the drive name. Raises :exc:`OSError` if the volume is not recognized or if an error occurs collecting the paths.
trusted_official_docs
CPython Docs
The mount points return by this function will be absolute paths, and may be longer than the drive name. Raises :exc:`OSError` if the volume is not recognized or if an error occurs collecting the paths.
The mount points return by this function will be absolute paths, and may be longer than the drive name. Raises :exc:`OSError` if the volume is not recognized or if an error occurs collecting the paths.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e5fc0573-8cab-48d8-a86f-0551e554312f
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,780
supabase-export-v2
0312bb2fb2b99b56
C standard library function :c:func:`ptsname_r` if it is available; otherwise, the C standard library function :c:func:`ptsname`, which is not guaranteed to be thread-safe, is called. .. availability:: Unix, not WASI.
trusted_official_docs
CPython Docs
C standard library function :c:func:`ptsname_r` if it is available; otherwise, the C standard library function :c:func:`ptsname`, which is not guaranteed to be thread-safe, is called. .. availability:: Unix, not WASI.
C standard library function :c:func:`ptsname_r` if it is available; otherwise, the C standard library function :c:func:`ptsname`, which is not guaranteed to be thread-safe, is called. .. availability:: Unix, not WASI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e61cae61-0c0b-49ec-9f08-8579c8b55e91
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,693
supabase-export-v2
81f1fb370ed46e7b
.. function:: abort() Generate a :const:`~signal.SIGABRT` signal to the current process. On Unix, the default behavior is to produce a core dump; on Windows, the process immediately returns an exit code of ``3``. Be aware that calling this function will not call the Python signal handler registered for :const:`~sign...
trusted_official_docs
CPython Docs
.. function:: abort() Generate a :const:`~signal.SIGABRT` signal to the current process. On Unix, the default behavior is to produce a core dump; on Windows, the process immediately returns an exit code of ``3``. Be aware that calling this function will not call the Python signal handler registered for :const:`~sign...
.. function:: abort() Generate a :const:`~signal.SIGABRT` signal to the current process. On Unix, the default behavior is to produce a core dump; on Windows, the process immediately returns an exit code of ``3``. Be aware that calling this function will not call the Python signal handler registered for :const:`~sign...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e69b6ab1-5c03-4ee8-8522-ab8d4cd1ece5
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,671
supabase-export-v2
fd780eb8eb3041d3
.. function:: removexattr(path, attribute, *, follow_symlinks=True) Removes the extended filesystem attribute *attribute* from *path*. *attribute* should be bytes or str (directly or indirectly through the :class:`PathLike` interface). If it is a string, it is encoded with the :term:`filesystem encoding and error han...
trusted_official_docs
CPython Docs
.. function:: removexattr(path, attribute, *, follow_symlinks=True) Removes the extended filesystem attribute *attribute* from *path*. *attribute* should be bytes or str (directly or indirectly through the :class:`PathLike` interface). If it is a string, it is encoded with the :term:`filesystem encoding and error han...
.. function:: removexattr(path, attribute, *, follow_symlinks=True) Removes the extended filesystem attribute *attribute* from *path*. *attribute* should be bytes or str (directly or indirectly through the :class:`PathLike` interface). If it is a string, it is encoded with the :term:`filesystem encoding and error han...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e6e85e7f-4562-4963-92d5-33963f38ebab
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
42,678
supabase-export-v2
c2744751afa53854
the calling process a session leader; make the tty the controlling tty, the stdin, the stdout, and the stderr of the calling process; close fd. .. availability:: Unix, not WASI.
trusted_official_docs
CPython Docs
the calling process a session leader; make the tty the controlling tty, the stdin, the stdout, and the stderr of the calling process; close fd. .. availability:: Unix, not WASI.
the calling process a session leader; make the tty the controlling tty, the stdin, the stdout, and the stderr of the calling process; close fd. .. availability:: Unix, not WASI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e6fe61ee-567f-4550-81a5-c47d8f5390a2
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,604
supabase-export-v2
048baee491ebc9ba
:func:`read` doesn't block, but If there hasn't been an expiration since the last call to read, :func:`read` raises :class:`OSError` with ``errno`` is set to :const:`errno.EAGAIN`. :const:`TFD_CLOEXEC` is always set by Python automatically.
trusted_official_docs
CPython Docs
:func:`read` doesn't block, but If there hasn't been an expiration since the last call to read, :func:`read` raises :class:`OSError` with ``errno`` is set to :const:`errno.EAGAIN`. :const:`TFD_CLOEXEC` is always set by Python automatically.
:func:`read` doesn't block, but If there hasn't been an expiration since the last call to read, :func:`read` raises :class:`OSError` with ``errno`` is set to :const:`errno.EAGAIN`. :const:`TFD_CLOEXEC` is always set by Python automatically.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e7dc3b91-1a0a-4d2d-a96e-86d102939f84
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,666
supabase-export-v2
a69db0810e1a1900
*path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory. This function can support :ref:`specifying a file descriptor <path_fd>` and :ref:`not following symlinks <follow_symlinks>`.
trusted_official_docs
CPython Docs
*path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory. This function can support :ref:`specifying a file descriptor <path_fd>` and :ref:`not following symlinks <follow_symlinks>`.
*path*. The attributes in the list are represented as strings decoded with the filesystem encoding. If *path* is ``None``, :func:`listxattr` will examine the current directory. This function can support :ref:`specifying a file descriptor <path_fd>` and :ref:`not following symlinks <follow_symlinks>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e86b281d-de08-45bf-9148-c5f9e74266d8
CPython Docs
file://datasets/cpython/Doc/library/os.rst
unknown
45983a6c-a22f-4481-a12a-a922736c8c3f
43,528
supabase-export-v2
66f8a36d0353723b
end=" ") print(sum(getsize(join(root, name)) for name in files), end=" ") print("bytes in", len(files), "non-directory files") if '__pycache__' in dirs: dirs.remove('__pycache__') # don't visit __pycache__ directories In the next example (simple implementation of :func:`shutil.rmtree`), walking the tree bottom-up is e...
trusted_official_docs
CPython Docs
end=" ") print(sum(getsize(join(root, name)) for name in files), end=" ") print("bytes in", len(files), "non-directory files") if '__pycache__' in dirs: dirs.remove('__pycache__') # don't visit __pycache__ directories In the next example (simple implementation of :func:`shutil.rmtree`), walking the tree bottom-up is e...
end=" ") print(sum(getsize(join(root, name)) for name in files), end=" ") print("bytes in", len(files), "non-directory files") if '__pycache__' in dirs: dirs.remove('__pycache__') # don't visit __pycache__ directories In the next example (simple implementation of :func:`shutil.rmtree`), walking the tree bottom-up is e...
python, official-docs, cpython, P0
Local_Trusted_Corpus