简体   繁体   中英

Kill xlwings Python process on workbook close when using optimized connection

I want to start using "optimized connection" feature of xlwings (v 0.11.4), but I would like to be able to kill Python process when I close the workbook (even if Excel instance is still running). I couldn't find any information on this in topic in xlwings documentation. Anyone had a similar problem and found a solution?

The link below might be helpful where you can quit app directly (which will close and kill excel application).

I cannot close Excel 2016 after executing a xlwings function

Best Regards, Python Beginner

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM