I'm working on a project and want to be able to manipulate data (add, remove, stylize etc.) of an open spreadsheet with python. Is there a way to do this or do I need to enter the file path to work with the spreadsheet?
For example, let's say I have multiple spreadsheets open (file1.xlsx, file2.xlsx, file3.xlsx), and I'm currently focused on file2.xlsx, I want my program to be able to recognize what file is currently focused and manipulate (mostly read) data from that file.
I have looked through libraries but I can't seem to find one that can do this, maybe there is a library which can get the path of the current focused file, idk?