Tweeted By @DynamicWebPaige
🐍 #Python family: if you ever want to inspect the source code for a module that you've imported, but don't want to waste time hunting around for the .py file:
— 👩💻 DynamicWebPaige @ $HOME 🏞 (@DynamicWebPaige) June 17, 2018
import inspect
import pprint
pprint.pprint( inspect.getsource( <module_name>)) pic.twitter.com/8AMHNMDt0u