I need the following information:
I want to be able to call a vbs script from python script.
I need information on how to do it inline and from external file.
question # 1:
Example:
i=3
j=2
vbs = [login to view URL]("ScriptControl")
[login to view URL] = "vbscript"
scode="""Function mul2(x, y)
mul2=cint(x)*y
End Function
"""
[login to view URL](scode)
[login to view URL]("mul2(5, 6)")
I need to be able to to pass the values of i and j instead of (5, 6) into vbs function.
Question # 2.
If I choose this approach:
create an external file with the same function.
import os
[login to view URL]("C://[login to view URL]")
How can I pass those arguments (i & j) into the function?