test.support.findfile()

test.support.findfile(filename, subdir=None)

Return the path to the file named filename. If no match is found filename is returned. This does not equal a failure since it could be the path to the file.

Setting subdir indicates a relative path to use to find the file rather than looking directly in the path directories.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.