[Sikuli-driver] [Question #214286]: Problem with starting *.py file

2012-11-15 Thread indugur
New question #214286 on Sikuli: https://answers.launchpad.net/sikuli/+question/214286 Hello. I'm new in Python and that's why I've got some question with starting *.py files in Sikuli scripts. I need to start external python file from Sikuli script. I use the next construction: import os os.st

Re: [Sikuli-driver] [Question #214286]: Problem with starting *.py file

2017-11-16 Thread Vit
Question #214286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/214286 Vit posted a new comment: I have the same problem with TypeError: unsupported operand type(s) for +: 'NoneType' and 'list' I solved it this way: import subprocess firefox = r'C:\Program Files\Mozilla Firefo

Re: [Sikuli-driver] [Question #214286]: Problem with starting *.py file

2012-11-15 Thread j
Question #214286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/214286 Status: Open => Answered j proposed the following answer: See question https://answers.launchpad.net/sikuli/+question/185801 os.startfile does not exist in Jython 2.5.2, you'll have to use os.popen() --

Re: [Sikuli-driver] [Question #214286]: Problem with starting *.py file

2012-11-15 Thread indugur
Question #214286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/214286 Status: Answered => Open indugur is still having a problem: Thank you for response but it still doesn't work. I have tried both mentioned ways: 1. import os cmd = r'"C:\images\file.py"' os.popen(cmd)

Re: [Sikuli-driver] [Question #214286]: Problem with starting *.py file

2012-11-15 Thread indugur
Question #214286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/214286 indugur posted a new comment: btw by system is Win 7 64 -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #214286]: Problem with starting *.py file

2012-11-16 Thread RaiMan
Question #214286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/214286 Status: Open => Answered RaiMan proposed the following answer: I tested on Win 7 32 and 64 with the latest Sikuli build 930 (http://www.sikuli.org/download.html) which contains Jython 2.5.2 and did not h