I'm trying to invoke a vbscript through python as follows
import os
import sys
import pandas as pd
import numpy as np
rancsv = pd.DataFrame(np.random.randn(150, 5))
rancsv.to_csv('randomcsv.csv', sep=',')
os.system(r"C:\Users\v-2mo\Documents\Python Scripts\test.vbs")
However this simply gives an output of 1 in jupyter notebook and does not run the script.
The script when run directly, runs just fine.
What am I doing wrong?
wscript.exe(Windows GUI) orcscript.exe(Command line) host applications.