Message95614
| Author |
brian.curtin |
| Recipients |
ajaksu2, andybuckley, brian.curtin, christian.heimes, edemaine, tleeuwenburg@gmail.com |
| Date |
2009年11月23日.04:41:29 |
| SpamBayes Score |
0.00044822713 |
| Marked as misclassified |
No |
| Message-id |
<1258951294.57.0.0885568235152.issue444582@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch against r76432 which implements a "which" generator
function in shutil that yields full file paths where the searched file
exists on the PATH. Includes doc change and a test. It is pretty similar
to what edemaine had suggested.
This could just as easily return a list, so if that would be more
preferable I'll change the patch. |
|