← Back to team overview

sikuli-driver team mailing list archive

[Question #273629]: how to invoke VB script from Python

 

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

	we have one python script usinng sikuli tool and one vb script ,we want to integrate both
	
	so want to call vbscript from python.i tried some methods posted on your site like 
import os
import sys
os.system(r"D:\sonaliimp\automation\v.vbs") 

but it is throwing  below error
[error] Stopped
[error] An error occurs at line 3
[error] Error message: Traceback (most recent call last):
 File "C:\Users\PANIGR~1\AppData\Local\Temp\sikuli-tmp8310844590916589886.py", line 3, in 
 os.system(r"D:\sonaliimp\automation\v.vbs") 
File "C:\Program Files\Sikuli\sikuli-r930-win32\Sikuli-IDE\sikuli-script.jar\Lib\subprocess.py", line 456, in call
 File "C:\Program Files\Sikuli\sikuli-r930-win32\Sikuli-IDE\sikuli-script.jar\Lib\subprocess.py", line 751, in __init__
 File "C:\Program Files\Sikuli\sikuli-r930-win32\Sikuli-IDE\sikuli-script.jar\Lib\subprocess.py", line 1236, in _execute_child
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
	
Please help

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