def primefactors(n, limit=None, verbose=False):
    n = int(n)
    factors = sorted(factorint(n, limit=limit, verbose=verbose).keys())
    s = [f for f in factors[:-1:] if f not in [-1, 0, 1]]
    if factors and isprime(factors[-1]):
        s += [factors[-1]]
    return s
Imports the module with the given name.
dataset/ETHPy150Open sympy/sympy/sympy/ntheory/factor_.py/primefactors--crossover with--dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/core/loading.py/_import_module