Hello all,
I am setting up a project to go and grab a bunch of financial data from a banking website.
The way I have it worked out is I have a .exe file on my system that I am using the SubProcess module to activate via python.
Here's the code:
"""import subprocess
file = "C:\Users\Kyle\Desktop\pyFinanceData\dbConnector.exe"
subprocess.call(file, shell=True) """
Whenever I run this via the Scripting console it works perfect 100% of the time.
But I bound it to a button and now it doesn't work. I tried binding it to a gateway message handler, and using the button to call that, and that also did not work.
I'm not sure why it would ONLY be working in the Scripting Console. Any advice would be really helpful.