← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #288661]: How to access a file on directory

 

Question #288661 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288661

    Status: Open => Answered

RaiMan proposed the following answer:
dir = "C:/Work/Work160315"
print "******** running install"
print run(os.path.join(dir, "install.exe")
print "******** running Test"
print run(os.path.join(dir, "Test.exe")

... the / instead of \ are by intention to make life easier.

about run() see:
http://sikulix-2014.readthedocs.org/en/latest/interaction.html#run

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.