Categories
How to get the path to the file from which the module was called?
I have a file that, when called in another file, should log which file it was called by.
Answer the question
In order to leave comments, you need to log in
module.filename
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question