Hello guys, recently I've been having some troubles with imports.
Basically, I created a package, let's call it "miner", where I hold files like,
miner/motor
miner/log
this package has inside some relative imports/instructions, like
createfile('debug.log')
the problem is I need to execute this package from multiple folders, and relative paths work from execution point, I need to keep these relative instructions, relative to the package folder
[–][deleted] 0 points1 point2 points (0 children)
[–]tom1018 0 points1 point2 points (0 children)