git@marcbrinkmann.de Marc Brinkmann shutilwhich mbr/shutilwhich shutilwhich will monkey-patch the shutil package, so from that point on you can simply import the which function. On Python 3.3 and above, the module never do anything but return the stdlib shutil.which function.