use get_filename() on importlib loaders
The filename attribute is not present on all loader classes, the get_filename() method is the correct way of getting a module's file name.
Loading
Please register or sign in to comment
The filename attribute is not present on all loader classes, the get_filename() method is the correct way of getting a module's file name.