I want to add a submodule for https://github.com/loonghao/photoshop-python-api, when I found all code in this repo uses absolute importing.
Well, I would follow his code style, if importing in my submodule didn't become something like this:
from photoshop.api.action_manager._main_types.action_descriptor_iterator import ActionDescriptor_Iterator
What's worse, his repo follows google guidelines, which says that everyone should make clear what a variable is for by naming it properly. That makes a line of importing easily exceeds the limit of 120 chars when using absolute importing.
What I think is that relative importing will cause error when you directly run any code in the module. But in this case no one would.
So: Is there any evidence indicating that we should always use absolute importing? Can absolute importing, which sacrefices portability and convenience, bring any convenience in maintaining when relative importing fits the situation?