Python imports relative path

I’ve got a project where I would like to use some python classes located in other directories.

Example structure:

/dir
+../subdirA
+../subdirB
+../mydir
The absolute path varies, because this …