pyufunc.find_fname_from_PATH_on_win#
- pyufunc.find_fname_from_PATH_on_win(fname, ext='exe', sel_dir=None, verbose=True)#
Find the filename from the system PATH.
- Parameters:
- Location:
pyufunc/util_pathio/_path.py
Note
- This function is same as find_executable_from_PATH_on_win,
both are used to find the filename from the system PATH.
Examples
>>> import pyufunc as pf >>> pf.find_fname_from_PATH_on_win('python', 'exe', True) ["**/python.exe", ...] >>> pf.find_fname_from_PATH_on_win('aaa', 'exe', True) None
- Returns:
A list of full path of the filename if found, otherwise None.
- Return type:
list or None