faqvda
Last Updated: February 25, 2016
·
416
· filosottile

Open the source of a python module

Oneliner!

python -c "import imp; print(imp.find_module('hashlib')[1])"
subl $(python -c "import imp; print(imp.find_module('hashlib')[1])")