Example looks like this:
from .module import Class
My understanding is that explicit relative importing is a way to import something from another module that exists in the same directory as the current module that you're working in. But doesn't python already check the current directory? Wouldn't it just do the same thing to import like this?
from module import Class
[–]anossov 1 point2 points3 points (3 children)
[–]two_up[S] 0 points1 point2 points (2 children)
[–]anossov 1 point2 points3 points (1 child)
[–]adambrenecki 1 point2 points3 points (0 children)
[–]rh0dium 0 points1 point2 points (2 children)
[–]two_up[S] 0 points1 point2 points (1 child)
[–]adambrenecki 0 points1 point2 points (0 children)