abdulsalam2121
Add automation bot with Flask and Playwright
5b29309
Raw
History Blame Contribute Delete
201 Bytes
import os
from datetime import datetime
def timestamped_filename(prefix: str = "output", ext: str = "csv") -> str:
ts = datetime.now().strftime("%Y%m%d_%H%M%S")
return f"{prefix}_{ts}.{ext}"