Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ttxskk
/
AiOS
like
21
Sleeping
App
Files
Files
Community
1
8fe6621
AiOS
/
util
/
dir.py
ttxskk
update
d7e58f0
2 months ago
raw
Copy download link
history
blame
Safe
183 Bytes
import
os
import
sys
def
make_folder
(
folder_name
):
os.makedirs(folder_name, exist_ok=
True
)
def
add_pypath
(
path
):
if
path
not
in
sys.path:
sys.path.insert(
0
, path)