To do this in #Python code, loading a module from a string, you can use importlib like this:
@bbelderbos no need for a custom function: https://docs.python.org/3/library/pkgutil.html#pkgutil.resolve_name
@adamchainz cool, thanks
@bbelderbos no need for a custom function: https://docs.python.org/3/library/pkgutil.html#pkgutil.resolve_name
@adamchainz cool, thanks