Mailing List Archive

[issue444582] Finding programs in PATH, addition to os
Skip Montanaro added the comment:

Commenting on Brett's reply... We use this sort
of facility in SpamBayes to search for the OCR
program. I crafted something by hand which didn't
work on Windows. Mark Hammond had to clean up the
mess I made. Having this as a canned function in
os would be handy.

Have a look at find_program in this file:

http://spambayes.svn.sourceforge.net/viewvc/*checkout*/spambayes/trunk/spambayes/spambayes/ImageStripper.py?content-type=text%2Fplain

----------
nosy: +skip.montanaro

____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue444582>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com