-
Dear all, I have the following directory structure for a script collection:
Within commands.py used modules are reloaded once the script is reloaded through _PYRELOAD as such: def OnPyReload() -> None:
try:
import importlib
importlib.reload(helper)
print("\nReloading all modules")
except Exception as err:
print(err) As time permits I am adding command line functions in Cheers Seb |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I haven’t made any large applications using Python yet, so I’m not sure of best practices with regards for code layout and reloading. |
Beta Was this translation helpful? Give feedback.
There’s some utilities in Ap.Application, maybe one of these will work for you