einstein/utils.py

6 lines
97 B
Python
Raw Normal View History

2015-10-04 12:34:09 +00:00
import os
def ensureDirExists(path):
if not os.path.exists(path):
os.makedirs(path)