excel-interop

Excel doesn't close if I use the "with" keyword instead of "inline" python

Excel doesn't close if I use the "with" keyword instead of "inline" python Question: I use python to refresh some power query table in Excel using win32com.client library. If I write everything "inline" (1st version): excel closes correctly If I use a "with" statement to open/close excel and workbooks (2nd version): excel process doesn’t close …

Total answers: 1