Re: Getting the dependencies of a function from a library

2020-04-21 Thread Barry Scott
> On 20 Apr 2020, at 22:40, elisha hollander wrote: > > 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 depe

Re: Getting the dependencies of a function from a library

2020-04-21 Thread Dieter Maurer
elisha hollander wrote at 2020-4-21 00:40 +0300: >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

Re: Getting the dependencies of a function from a library

2020-04-20 Thread Juergen Brendel
Hello! Not sure what's vague about the question, I think it was pretty clear. Imagine this: >>> import requests >>> >>> magic_function(requests.get) . prints big output of all other functions and libraries used by . requests.get, plus all the functions used by those functions, .

Re: Getting the dependencies of a function from a library

2020-04-20 Thread DL Neil via Python-list
On 21/04/20 9:40 AM, elisha hollander wrote: 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 nothin

Re: Getting the dependencies of a function from a library

2020-04-20 Thread Bob Gailer
For me the question is a little vague. What do you mean by Library? Could you give us a simple example of the input and the output? It's possible to interpret your question as an assessment of your skill level. We know nothing about your skill level. It's possible to interpret your question as

Getting the dependencies of a function from a library

2020-04-20 Thread elisha hollander
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