About 5,130,000 results
Open links in new tab
  1. How to set the working directory for debugging a Python program in …

    Jul 27, 2016 · How do I execute a Python file with the debugger and specify the working directory for the run?

  2. How can I change the Python version in Visual Studio Code?

    Jan 7, 2018 · If you selected python 3.6 in Visual Studio Code > View > Command Palette (CTRL+SHIFT+P) > Python: Select Interpreter, the play (execute) button will begin the call with the …

  3. VS Code does not find Python kernel - Stack Overflow

    Nov 2, 2022 · (Note that the python installer doesn't update the HKLM Uninstall registry when installing for all users.) Vscode 1.102.0 was a problem for me, and version 1.105.0 fixed it.

  4. How can I set up a virtual environment for Python in Visual Studio …

    Jan 9, 2019 · In my project folder I created a venv folder: python -m venv venv When I run command select python interpreter in Visual Studio Code, my venv folder is not shown. I went one level up like …

  5. VSCode does not detect installed python libraries and modules

    Aug 29, 2024 · I have a Python project open in VSCode that operates various libraries and it's composed of different modules. Venv is activated, and all libraries are installed in venv.

  6. python - Visual Studio Code does not detect Virtual Environments ...

    Mar 30, 2021 · Visual Studio Code does not detect virtual environments. I run vscode in the folder where the venv folder is located, when I try to select the kernel in vscode I can see the main environment …

  7. Visual Studio Code not running Python - Stack Overflow

    0 I needed to do the equivalent of blowing in the NES cartridge... IN VSCode, next to the "Run" icon, there is a drop down arrow. Hit the dropdown arrow and select "Run Python File" After that, running …

  8. How do I find/excute Python Interactive Mode in Visual Studio Code?

    Nov 7, 2020 · If you have the Python extension, you can use the Python Interactive feature (this is a IPython / Jupyter console, which can run parts of your code as 'cells', i.e., snippets of code executed …

  9. How can I comment multiple lines in Visual Studio Code?

    I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some shortcut? If …

  10. How can I make VS Code format my Python code? - Stack Overflow

    Jun 28, 2023 · How to use formatting: The code formatting is available in Visual Studio Code (VSCode) through the following shortcuts or key combinations: On Windows Shift + Alt + F On macOS Shift + …