gedhrel , 5 days ago If things are changing a bit each month, then in your module rather than a plain variable assignment darabase = ... you might want a function that you can pass in parameters to represent the things that can change: def database(dir, ...): ... return ... Then you can call it like this: from database import database db = database("/some/path") ... gope that makes some sense.
If things are changing a bit each month, then in your module rather than a plain variable assignment
darabase = ...
you might want a function that you can pass in parameters to represent the things that can change:
def database(dir, ...): ... return ...
Then you can call it like this:
from database import database db = database("/some/path")
... gope that makes some sense.