12 lines
298 B
Python
12 lines
298 B
Python
#!/usr/bin/env python3
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
for path in sorted(ROOT.rglob("*")):
|
|
if ".git" in path.parts or "__pycache__" in path.parts:
|
|
continue
|
|
rel = path.relative_to(ROOT)
|
|
if len(rel.parts) > 4:
|
|
continue
|
|
print(rel)
|