I have a python library with a function. This function call some other functions, classes and variable from the library (and those functions and classes call other ones, etc)... Can I automatically create a file with all of the dependencies (and nothing else)? (Already posted on stack overflow with no answer)