Skip to content

Instantly share code, notes, and snippets.

@ConradMearns
Created April 9, 2021 21:22
Show Gist options
  • Save ConradMearns/457de12eda9cf029a5c070c7a1f6789b to your computer and use it in GitHub Desktop.
Save ConradMearns/457de12eda9cf029a5c070c7a1f6789b to your computer and use it in GitHub Desktop.
import glob
from pathlib import Path
files = glob.glob(".\\**\*.md", recursive=True)
for f in files:
s = Path(f).stem
if s not in open('Index.md').read():
print(f, "not in Index")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment