def load_class(full_class_string):
class_data = full_class_string.split("<STR_LIT:.>")<EOL>module_path = "<STR_LIT:.>".join(class_data[:-<NUM_LIT:1>])<EOL>class_str = class_data[-<NUM_LIT:1>]<EOL>module = importlib.import_module(module_path)<EOL>return getattr(module, class_str)<EOL>
Loads a class from a string naming the module and class name.

    For example:
    >>> load_class(full_class_string = 'pypet.brian.parameter.BrianParameter')
    <BrianParameter>