my program should parse /classifiers folder and go throught some calc. Here is a paths for folders:
classifiers_path = os.path.join('C:/Users/feature/classifiers')
Here is a lines of code, that parses that folder:
for i in os.path.join(classifiers_path + '/*.pkl'):
# Pulling the model from the path
model = joblib.load(i)
While debugging i have paths like this:
C:/Users/feature/classifiers\\T1.pkl
So it breaks with FileNotFoundError, How to avoid this double \, and it should be written, for unix/windows? Thanks