I have a windows batch file (.bat) which executes some Oracle Queries.
I want to integrate this Batch Script in a QGIS Plugin.
How can I do this with Python?
The cx_Oracle Python extension module is not an option within my infrastructure here.
I have a windows batch file (.bat) which executes some Oracle Queries.
I want to integrate this Batch Script in a QGIS Plugin.
How can I do this with Python?
The cx_Oracle Python extension module is not an option within my infrastructure here.
I've found a way to call my Batch Script:
import os
os.system("C:\Windows\System32\cmd.exe /c z:\Scripts\myscript.bat")
Thank you Matte for the comment. The link puts me on the right path: "How to open a program with cmd.exe from Python" on stack overflow.