einstein/einsteingame/utils.py

6 lines
97 B
Python

import os
def ensureDirExists(path):
if not os.path.exists(path):
os.makedirs(path)