I'm switching from R to Python for new machine learning project I'm doing.
I found one code architecture which seems ok (image below) but I have problems with with implementation if I want to keep my code DRY.
So basically I have a piece of code (functions) that I want to share across different modules (namely
You need to add your project to your system path so that python can find the module.
This can be done within python:
import sys sys.path.insert(0, fullPathToProjectFolder)
Then you will be able to call your modules with