[Python] Incorrect path with function getcwd()

Discussão em 'Python' iniciado por Stack, Julho 16, 2025.

  1. Stack

    Stack Membro Participativo

    I get the wrong path back. The Datafile is in D:... and get everytime the path C:\Python27\lib\site-packages\xy back from python. I use the function

    path = getcwd()


    How can I fix it?

    Continue reading...

Compartilhe esta Página