On 20/09/2012 22:06, Gelonida N wrote:
I'd like to implement the equivalent functionality of the unix command /usr/bin/whichThe function should work under Linux and under windows. Did anybody already implement such a function.
Searching found nothing obvious to me :(
If not, is there a portable way of splitting the environment variable PATH?
With os.sep ?
Thanks for any sugestions
-- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list