Get drive location of Nextcloud with python

i want to write a file to someones local nextcloud drive. The directory is shared with other people, but the scenario could be that the other persons have another location of the folder.

I want to get the location of nextcloud on the computer, so that from that point i can determin the location of the folder and write the file into it.

i am using Python,
does anyone know how to get the location of nexcloud on the desktop.