answered 2021-10-25 04:00:00 +0000
The __file__ attribute of the module has an absolute value, representing the path to the module file on the file system.
__file__