It seems there are already quite some questions here about relative import in python 3, but after going through many of them I still didn\'t find the answer for my issue. s
from package.A import foo
I think it's clearer than
import sys sys.path.append("..")