I have a .exe program that is converting an AGS file to an Excel file.
I have a lot of files to convert so I'm wondering can I automate this with Python? The convert-program only requires 2 locations, one for the input and one for the output, see the picture.
With Python I'm albe to start the program with the following code, but is it possible to pass the 2 path's and click Export.
import subprocess
path = r'C:\Program Files (x86)\AGSToExcel.exe'
#Start the programs
subprocess.call([path])
#other locations
path_ags = r'C:\Users\X\Documents\AGS_file1.ags'
path_excel = r'C:\Users\X\Documents\Book1.xls'
I'm fairly new with package subprocess so I have not a clue if this is even possible.
