← Back to team overview

sikuli-driver team mailing list archive

[Question #680991]: os.startfile() doesn't work

 

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

Sometimes App.open () doesn't work. As a workaround i like using the python command:
os.startfile('Link to .exe')....but for some reason it throws the following error:

[error] Error caused by: Traceback (most recent call last): File "D:\Academic_Software\SikuliX\adminRights.sikuli\adminRights.py", line 20, in <module> os.startfile("C:\\Program Files\\4tiitoo\\NUIA\\Runtime\\bin\\NUIATrayMenu.exe") AttributeError: 'module' object has no attribute 'startfile' .

 ( I also did import os in the first line)

Any leads on this would be really appreciated

Kind regards,
Soumil

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