Title basically says it all: there is no need for weird sys.path manipulation when shutil.which is perfectly present in the standard library in all currently supported Python versions.
Log in to post a comment.