Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mediaparty2023
/
spoof-detect
like
0
Runtime error
App
Files
Files
Community
0d9abe9
spoof-detect
/
python
/
common
/
mkdir.py
Niv Sardi
obey mypy
63501c1
about 2 years ago
raw
Copy download link
history
blame
Safe
151 Bytes
import
pathlib
from
typing
import
List
def
make_dirs
(
dirs:
List
[
str
]
):
for
p
in
dirs:
pathlib.Path(p).mkdir(parents=
True
, exist_ok=
True
)