After reading on the Internet, I noticed that it was promised that Python 2.7 would use absolute imports by default. However, this does not seem to be the case, and what else do we need to use
from __future__ import absolute_import
I do not want my code to use some deprecated settings, so I want to make sure that all modules are enabled. How to do this without repeating this statement in each individual module?
source
share