(path, path_filter=None)
return scrapbook
Returns a Scrapbook including the notebooks read from the
    directory specified by `path`.

    Parameters
    ----------
    path : str
        Path to directory containing notebook `.ipynb` files.
    path_filter: Optional[Callable[str, bool]]
        Func used to filter the notebook by its filename:
        should return True if you want to read that notebook and False otherwise

    Returns
    -------
    scrapbook : object
        A `Scrapbook` object.
Returns a Scrapbook including the notebooks read from the
    directory specified by `path`.
Returns a Scrapbook including the notebooks read from the directory specified by path .
def read_notebooks(path, path_filter=None):
    """
    Returns a Scrapbook including the notebooks read from the
    directory specified by `path`.

    Parameters
    ----------
    path : str
        Path to directory containing notebook `.ipynb` files.
    path_filter: Optional[Callable[str, bool]]
        Func used to filter the notebook by its filename:
        should return True if you want to read that notebook and False otherwise

    Returns
    -------
    scrapbook : object
        A `Scrapbook` object.

    """
    scrapbook = Scrapbook()
    for notebook_path in sorted(filter(path_filter, list_notebook_files(path))):
        fn = os.path.splitext(os.path.basename(notebook_path))[0]
        scrapbook[fn] = read_notebook(notebook_path)
    return scrapbook
def read_notebooks ( path , path_filter = None ) : scrapbook = Scrapbook ( ) for notebook_path in sorted ( filter ( path_filter , list_notebook_files ( path ) ) ) : fn = os . path . splitext ( os . path . basename ( notebook_path ) ) [ 0 ] scrapbook [ fn ] = read_notebook ( notebook_path ) return scrapbook