Digging a bit, looks like the required code is scheduled for inclusion as shutil.which some day. Maybe include a preliminary version of it ?
http://bugs.python.org/issue444582 http://bugs.python.org/file18001/which.py -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

