'How to import a module that isn't in the same folder? [duplicate]

I'm having problem with a project, in order to organize it I'm subdividing it into diferentes folders and I'm not getting import a module that are in a different folder. Anyone knows how can I resolve this trouble ?



Solution 1:[1]

Use import folder.modulename. This should work

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1