[Python] Get the current folder of Excel from xlwings Lite addin

Discussão em 'Python' iniciado por Stack, Junho 5, 2025.

  1. Stack

    Stack Membro Participativo

    I am using xlwings Lite addin with Excel 2021. Is there any way to get the path of Excel file from xlwings Lite? I tried to use os.getcwd() function, but it returns python working directory.

    Thanks,

    Continue reading...

Compartilhe esta Página