Find a reference entry

Python Functions

Collection of Python Functions and Methods

Reference entries

Collection of Python Functions and Methods

__COUNT__ entries on this page

Python os.fstat() MethodThe os.fstat() method returns the state of a file descriptor.Python os.fsync() MethodThe os.fsync() method forcefully writes a file to disk.Python os.ftruncate() MethodThe os.ftruncate() is an in-built python function used to truncate a file's path to a specified length.Python os.get_exec_path() MethodThe os.get_exec_path() is a built-in Python function used to find paths when searching for an executable in a process.Python os.get_handle_inheritable MethodIn this article, we will delve into the details of the os.get_handle_inheritable method, exploring its purpose, functionality, and practical use cases.Python os.get_inheritable MethodIt is the article on get_inheritable method in Python. We use this method to get the inheritable flag value of the provided file descriptor.Python os.get_terminal_size() MethodThe os.get_terminal_size() method returns the size of an active terminal.Python os.getcwd() MethodThe os.getcwd() is an in-built python function used to find the path of a current working directory.Python os.getcwdb() MethodIn this article, we'll explore the intricacies of Python's os.getcwdb() method, understanding its functionality, use cases, and the importance it holds in file and directory management.Python os.getenv() MethodThe os.getenv() gets the value of an environment variable.Python os.getlogin() MethodThe os.getlogin() method returns the name of the logged in user.Python os.getpid() MethodThe os.getpid() method returns the process ID of the current process.Python os.getppid() MethodThe os.getppid() is an in-built Python function used to retrieve a process's ID.Python os.isatty() MethodThe os.isatty() is a built-in Python function used to check the availability of a specified file descriptor.Python os.kill() MethodThe os.kill() is an in-built python function used to send a signal to a specific process using an ID.Python os.link() MethodThe os.link() is an in-built Python function used to generate a hard link.Python os.lseek() MethodThe os.lseek() is an in-built Python function used to change the current position of fd, file descriptor.Python os.lstat() MethodThe os.lstat() is an in-built Python function used to find a file's info.Python os.makedirs() MethodThe os.makedirs() is used to create directories recursively.Python os.mkdir() MethodIt is an article of mkdir() method in Python. We use this method to create a directory path.Python os.open() MethodThe os.open() is an in-built python function used to open a specified file and perform some functions on it.Python os.path ModuleThe os.path module is a collection of several utilities for file system paths.Python os.path.abspath() MethodThe os.path.abspath() is an in-built python function used find a renormalized absolutized version of the pathname address.Python os.path.basename() MethodThe os.path.basename() is an in-built Python function used to find the basename of a pathname address.