Files
Aislo/scratch_inspect.py
T
2026-07-10 19:52:06 +09:00

10 lines
284 B
Python

import re
path = "D:/02_Software_Prog/임도설계 및 견적자동화 프로그램 개발/0_old/main.py"
with open(path, "r", encoding="utf-8") as f:
code = f.read()
print("--- Endpoints ---")
for m in re.finditer(r'@app\.(get|post)\("([^"]+)"\)', code):
print(m.group(0))