← Back to team overview

sikuli-driver team mailing list archive

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

 

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 Firefox\firefox.exe' 

#First way
subprocess.call(firefox)

#Second way
process = subprocess.Popen(firefox)

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