I have the following mis-fortunate situation:
Three directories (A
, B
and C
) contain a python module M
with a function F
. (Those directories are not packages and it is impossible to change anything about the situation.)
I am looking for a way to import them separately to access their functionalities. How do I need to import those modules to access F
somewhat like this:
A.F()
B.F()
C.F()