how to get the caller's filename, method name in python. You can use the inspect module to achieve this: frame = inspect.stack()[1] module ...
確定! 回上一頁