def where_which(path):
    """
    Backwards compatibility wrapper for approximating which/where.

    :param path: Path to a file.
    :type path: str
    """
    try:
        from shutil import which
    except ImportError:
        from shutilwhich import which
    finally:
        thepath = which(path)
    return thepath
