ID EN
OS

unlink

Python 3.11

Remove (delete) the file path. This function is semantically identical to remove(); the unlink name is its traditional Unix name. Please see the documentation for remove() for further information.

Syntax

PYTHON
os.unlink(path, *, dir_fd=None)

See Also

remove() remove() auditing event path-like object