Use the cwd when the empty string is found in sys.path. This leads to
__file__ being an absolute path when the module is found in the current directory.
Showing
Please register or sign in to comment
__file__ being an absolute path when the module is found in the current directory.