def get_class(path):
    [modulename, classname] = path.rsplit(".", 1)
    mod = Import(modulename)
    return getattr(mod, classname)
Parses a list of server directives.
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/remote/IpyServer.py/get_class--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/certbot-nginx/certbot_nginx/parser.py/parse_server