sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16016
Re: [Question #221807]: possible to append after input variable?
Question #221807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/221807
Status: Open => Answered
RaiMan proposed the following answer:
Handling with pathnames is best supported by os.path.
No need to fiddle around with \
import os
finaldir = os.path.join(r"\\XXXXXXXXX", "TSStorage", "Builds", tsVersion, "utilities")
paste(finaldir)
or if you want to make it your way:
finaldir = r"\\XXXXXXXXX\TSStorage\Builds\" + tsVersion + r"\utilities"
paste(finaldir)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.