---

How to retrieve source code of Python functions

Learn to use the inspect and dill libraries to access Python functions’ source code.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis