Python equivalent to 'which'?

eg ergeorge at worldnet.att.net
Tue Jul 30 12:36:07 EDT 2002


Is their a python equivalent to the bash shell command 'which'?  I
haven't found it, and 'which' is such a common word that it may be
lost in the noise in my dejanews searches :(

I could grab the PATH environment variable and walk all the paths, but
I'm hoping python has already done it for me!
Thanks
Eric



More information about the Python-list mailing list