sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16086
Re: [Question #222218]: Windows: how to open Explorer window with a specific folder
Question #222218 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222218
Shawn Robertson posted a new comment:
thanks so much Raiman. i used this one:
dir = os.path.join('c:', os.sep, 'tssmoketest', tsVersion)
os.popen('start explorer "%s" ' % dir)
which works perfectly.
I would love to know what the %s stands for?
I take that the % sign is to handle spaces and the DIR part is for the
defined DIR i set earlier but the %s part is throwing me off.
trying to read some examples on pythons documentation and stack overflow
but not really finding a clear definition.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.