I am racking the net to find a way to programatically export/convert Microsoft Visio files to SVG using python.
I have a number of MS-Visio files (mostly created in Visio 2016), that I would like to export programatically, some have macros i.e .VSDM files, others may not i.e VSDX files.
Ideally I would like to run a script that iterates over the files and converts/exports them to visio without any user interaction, so far I've tried to use Win32com.client.Dispatch, but I am struggling to enable macros (for vsdm files) and gracefully close the file once the export/conversion is complete
Any ideas? Is there a good python 2.7 library?
Regards