On 5/22/25 21:04, Rob Cliffe via Python-list wrote:
It occurs to me that it might be useful if Python provided a function to
search for a file with a given name in various directories (much as the
import.import_lib function searches for a module in the directories in
sys.path).
This function would perhaps be best placed in the os.path or os modules.
To start the ball rolling, I offer this version:
consider: os.walk, glob.glob, Path.glob
--
https://mail.python.org/mailman3//lists/python-list.python.org