AiOS / util /dir.py
ttxskk
update
d7e58f0
raw
history blame
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)