So, let's say that I got a shell script that generates a v.py on the output that contains
v = some-float
And I'm accessing it in the main.py script via from v import v
But later the main Script toggles generation process again and the variable in v.py gets updated, but the variable v is not updating for the main script.
To make main script work I need to update the variable from v.py while script is running
I've tried importlib.reload(v) - didn't work
I'm still new to python and don't understand it completely
v.vinstead ofv. In this case,importlib.reloadallows for the value ofv.vto change.