skip to navigation
skip to content

pywhich 1.0.1

Find path to python modules from the command line.

Downloads ↓

Usage: pywhich PYTHON_MODULE [PYTHON_MODULE]... -- which for python modules

Find the source file for PYTHON_MODULE(s),print the result to standard out.

If a .py file cannot be found then the module's bytecode file is found.

P.S Hmmm. It appears a script with this name which did exactly the same thing already existed... though I somehow failed to know of its existence. This is probably because this is an obvious task and the obvious name of a program which performs this taks. If the author of said script would prefer their generic 7 line script to appear on pypi instead of mine - feel free to email me.

 
File Type Py Version Uploaded on Size # downloads
pywhich-1.0.1.tar.gz (md5) Source 2009-08-23 1KB 452