sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10478
Re: [Question #196475]: changing the system date
Question #196475 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196475
Status: Open => Answered
RaiMan proposed the following answer:
This is one of the principal solutions:
import datetime
print datetime.date.today() # for debug only
import os
cmd = r'"echo 08-05-2013 | date"'
os.system(cmd)
print datetime.date.today() # for debug only
Be aware: Sikuli has to be run with admin rights.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.