os.tcsetpgrp()

os.tcsetpgrp(fd, pg) Set the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()) to pg. Availability: Unix.

os.tcgetpgrp()

os.tcgetpgrp(fd) Return the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()). Availability: Unix.

os.system()

os.system(command) Execute the command (a string) in a subshell. This is implemented by calling the Standard C function system(), and has the same limitations. Changes to sys.stdin, etc. are not reflected in the environment of the executed command. If command generates any output, it will be sent to the interpreter standard output stream. On Unix, the return value is the exit status of the process encoded in the format specified for wait(). Note that POSIX does not specify the meaning of the

os.sysconf_names

os.sysconf_names Dictionary mapping names accepted by sysconf() to the integer values defined for those names by the host operating system. This can be used to determine the set of names known to the system. Availability: Unix.

os.sysconf()

os.sysconf(name) Return integer-valued system configuration values. If the configuration value specified by name isn’t defined, -1 is returned. The comments regarding the name parameter for confstr() apply here as well; the dictionary that provides information on the known names is given by sysconf_names. Availability: Unix.

os.sync()

os.sync() Force write of everything to disk. Availability: Unix. New in version 3.3.

os.symlink()

os.symlink(src, dst, target_is_directory=False, *, dir_fd=None) Create a symbolic link pointing to src named dst. 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. Otherwise, the symlink will be created as a directory if target_is_directory is True or a file symlink (the default) otherwise. On non-Window platforms, target_is_directory is ignored. Symbolic lin

os.supports_follow_symlinks

os.supports_follow_symlinks A Set object indicating which functions in the os module permit use of their follow_symlinks parameter. Different platforms provide different functionality, and an option that might work on one might be unsupported on another. For consistency’s sakes, functions that support follow_symlinks always allow specifying the parameter, but will raise an exception if the functionality is not actually available. To check whether a particular function permits use of its foll

os.supports_fd

os.supports_fd A Set object indicating which functions in the os module permit specifying their path parameter as an open file descriptor. Different platforms provide different functionality, and an option that might work on one might be unsupported on another. For consistency’s sakes, functions that support fd always allow specifying the parameter, but will raise an exception if the functionality is not actually available. To check whether a particular function permits specifying an open fi

os.supports_effective_ids

os.supports_effective_ids A Set object indicating which functions in the os module permit use of the effective_ids parameter for os.access(). If the local platform supports it, the collection will contain os.access(), otherwise it will be empty. To check whether you can use the effective_ids parameter for os.access(), use the in operator on supports_effective_ids, like so: os.access in os.supports_effective_ids Currently effective_ids only works on Unix platforms; it does not work on Window