Let's say I have a python module called custom_colors.py in which I create some variables I am using in multiple projects in different working directories. So I am wondering what's the best practice of how to work with such helper files?
copy them into each project's folder?
So far I thought about creating a folder for all helper files like this and import whenever needed
import os
# change workding directory to helper files folder and load own modules
os.chdir(helper_files_path)
import utils.custom_colors as cc
but for this approach I always need to change the working directory first.
How do you guys handle such stuff?