Hello,
I have a big program where a python code calls several codes (written in Python and C++ ) and software. From function2 which is in my main program, I want to know where function1 where created knowing that function1 is called by function2. The function 1 might be available from an import, I guess. How do I print the name of the file in which the function 1 was implemented?
Thank you.
I have a big program where a python code calls several codes (written in Python and C++ ) and software. From function2 which is in my main program, I want to know where function1 where created knowing that function1 is called by function2. The function 1 might be available from an import, I guess. How do I print the name of the file in which the function 1 was implemented?
Thank you.