# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
import importlib import inspect import pathlib
from base_python_support import BasePythonSupport
def import_support_class(path): """This function returns a BasePythonSupport subclass from the given path.
:param str path: The path pointing to the custom support subclass.
:return: A subclass of BasePythonSupport. """
file = pathlib.Path(path)
ifnot file.exists(): raise Exception(f"The support_class path {path} does not exist.")
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.