Retrieving the full path of Unix apps
m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Tue Oct 5 23:10:55 CEST 2004
Lorin Hochstein wrote:
> That does seem more elegant than relying on 'which'.
I dunno. I imagine that after a certain point, relying on 'which' will
be faster since it is written in C. You're going to have to do process a
lot of stats to find out which files you have execute permission for.
And they have already dealt with all the caveats that you haven't even
thought of yet ;-)
More information about the Python-list