ID EN
OS Path

sameopenfile

Python 3.11

Return True if the file descriptors fp1 and fp2 refer to the same file.

Syntax

PYTHON
os.path.sameopenfile(fp1, fp2)

See Also

Availability path-like object