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.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.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.getitimer()

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

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.unregister_archive_format()

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

shutil.unpack_archive()

shutil.unpack_archive(filename[, extract_dir[, format]]) Unpack an archive. filename is the full path of the archive. extract_dir is the name of the target directory where the archive is unpacked. If not provided, the current working directory is used. format is the archive format: one of “zip”, “tar”, or “gztar”. Or any other format registered with register_unpack_format(). If not provided, unpack_archive() will use the archive file name extension and see if an unpacker was registered for t

shutil.SameFileError

exception shutil.SameFileError This exception is raised if source and destination in copyfile() are the same file. New in version 3.4.