title: Is there a which statement for PYTHONPATH similar to for PATH in linux?
body: <p>I would like to know where a script like &quot;tensorflow.python.tools.inspect_checkpoint&quot; is located when I use the handy command &quot;python -m tensorflow.python.tools.inspect_checkpoint --file_name xyz&quot;. It is somewhere in my PYTHONPATH, but it is tedious to go through every path.</p>
  <p>Is there a similar command to &quot;which&quot;, aimed at quickly locating python scripts that can be reached from PYTHONPATH? Thanks.</p>