def examples(path='<STR_LIT>', verbose=False, force=False, root=__file__):
filepath = os.path.abspath(os.path.dirname(root))<EOL>example_dir = os.path.join(filepath, '<STR_LIT>')<EOL>if not os.path.exists(example_dir):<EOL><INDENT>example_dir = os.path.join(filepath, '<STR_LIT>')<EOL><DEDENT>if os.path.exists(path):<EOL><INDENT>if not force:<EOL><INDENT>print('<STR_LIT>' % path)<EOL>return<EOL><DEDENT>shutil.rmtree(path)<EOL><DEDENT>ignore = shutil.ignore_patterns('<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>tree_root = os.path.abspath(example_dir)<EOL>if os.path.isdir(tree_root):<EOL><INDENT>shutil.copytree(tree_root, path, ignore=ignore, symlinks=True)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>' % tree_root)<EOL><DEDENT>
Copies the notebooks to the supplied path.