sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02814
Re: [Question #157247]: How to check whether directory exists
Question #157247 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/157247
RaiMan posted a new comment:
sorry, missed a colon:
import os
baseDir = r'c:\path-to-working-dir'
newDir = "newDir"
makeDir = os.path.join(baseDir, newDir)
if not os.path.exists(makeDir):
os.mkdir(makeDir)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.