← Back to team overview

sikuli-driver team mailing list archive

[Question #674620]: Python module in sikuli does not work

 

New question #674620 on Sikuli:
https://answers.launchpad.net/sikuli/+question/674620

hello!
help me please...

my sikuli script:

logfile = open(sys.path[0] + 'LOGtest.txt', 'w')
logfile.write('Test_Ok123')
logfile.close()

when i try do it in sikuli IDE - it work ok and logfile create 
but when i try do it in pyhton like this:

 subprocess.call(['C:\\Program Files (x86)\\Sikuli X\\runsikulix.cmd' , '-r', scenario])

logfile(LOGtest.txt) do not create

that is it working only in sikuli IDE 

why? and how i can do it?



thank you in advance



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