dill’s getname: Get Names a Python Object

To get a name of a Python object such as variable, class or function, use dill’s getname method. This is useful when you are experimenting with different ML models and you want to save them under different names without hard coding.

Above is a use case of the getname method.

Related Posts

Related Posts

Scroll to Top