[Python] My terminal does not prompt a particular folder initially each time I start working...

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    I am new to vscode with python extension.

    I open a folder Beginners in VS code with python extension

    location is

    C:\\Users\\nprnc\\Coding Python\\Beginners

    I expect a folder like this


    PS C:\Users\nprnc\Coding Python\Beginners>
    ​

    but the terminal shows powershell with the location


    PS C:\WINDOWS\System32\WindowsPowerShell\v1.0>
    ​

    [​IMG]

    The terminal does not prompt a particular folder initially each time I start working on this folder.

    The terminal works fine when I work on other folders except this one.

    How could I set up the correct foler I am working on?

    I knew an approach is by terminal intergrated cwd in the setting of VS code.

    Steps could be found in a video How to Change Default Terminal Directory in VS Code | Visual Studio Code Tutorial (2025)

    But is there any way I could set up?

    Continue reading...

Compartilhe esta Página