Spaces:
Paused

meloon / create_structure.py
isold's picture
Feature: Add new applications
4a91ea9
Raw History Blame Contribute Delete
315 Bytes
import os
dirs = [
"backend/app",
"backend/app/core",
"backend/app/models",
"backend/app/schemas",
"backend/app/api",
"backend/app/api/v1",
"backend/app/services",
]
for d in dirs:
os.makedirs(d, exist_ok=True)
with open(os.path.join(d, "__init__.py"), "w") as f:
pass