signal.pause()

signal.pause() Cause the process to sleep until a signal is received; the appropriate handler will then be called. Returns nothing. Not on Windows. (See the Unix man page signal(2).) See also sigwait(), sigwaitinfo(), sigtimedwait() and sigpending().

signal.getsignal()

signal.getsignal(signalnum) Return the current signal handler for the signal signalnum. The returned value may be a callable Python object, or one of the special values signal.SIG_IGN, signal.SIG_DFL or None. Here, signal.SIG_IGN means that the signal was previously ignored, signal.SIG_DFL means that the default way of handling the signal was previously in use, and None means that the previous signal handler was not installed from Python.

signal.ItimerError

exception signal.ItimerError Raised to signal an error from the underlying setitimer() or getitimer() implementation. Expect this error if an invalid interval timer or a negative time is passed to setitimer(). This error is a subtype of OSError. New in version 3.3: This error used to be a subtype of IOError, which is now an alias of OSError.

signal.getitimer()

signal.getitimer(which) Returns current value of a given interval timer specified by which. Availability: Unix.

shutil.unregister_archive_format()

shutil.unregister_archive_format(name) Remove the archive format name from the list of supported formats.

signal.alarm()

signal.alarm(time) If time is non-zero, this function requests that a SIGALRM signal be sent to the process in time seconds. Any previously scheduled alarm is canceled (only one alarm can be scheduled at any time). The returned value is then the number of seconds before any previously set alarm was to have been delivered. If time is zero, no alarm is scheduled, and any scheduled alarm is canceled. If the return value is zero, no alarm is currently scheduled. (See the Unix man page alarm(2).)

shutil.which()

shutil.which(cmd, mode=os.F_OK | os.X_OK, path=None) Return the path to an executable which would be run if the given cmd was called. If no cmd would be called, return None. mode is a permission mask passed to os.access(), by default determining if the file exists and executable. When no path is specified, the results of os.environ() are used, returning either the “PATH” value or a fallback of os.defpath. On Windows, the current directory is always prepended to the path whether or not you us

shutil.unregister_unpack_format()

shutil.unregister_unpack_format(name) Unregister an unpack format. name is the name of the format.

shutil.register_unpack_format()

shutil.register_unpack_format(name, extensions, function[, extra_args[, description]]) Registers an unpack format. name is the name of the format and extensions is a list of extensions corresponding to the format, like .zip for Zip files. function is the callable that will be used to unpack archives. The callable will receive the path of the archive, followed by the directory the archive must be extracted to. When provided, extra_args is a sequence of (name, value) tuples that will be passed

shutil.register_archive_format()

shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name. function is the callable that will be used to unpack archives. The callable will receive the base_name of the file to create, followed by the base_dir (which defaults to os.curdir) to start archiving from. Further arguments are passed as keyword arguments: owner, group, dry_run and logger (as passed in make_archive()). If given, extra_args is a sequence of (name, value) pairs