About 1,570,000 results
Open links in new tab
  1. Is there a shortcut to comment multiple lines in python using VS …

    Sep 26, 2022 · Instead of indivually typing out a hash tag in front of each line, is there a way to select a block of code and comment/uncomment everything by only pressing a couple shortcut …

  2. VS Code can't find Python - Stack Overflow

    Feb 1, 2021 · 13 In Visual Studio Code, open the Settings with (Ctrl + ,) then search settings for "Interpreter". There will be an option for "Python: Default Interpreter Path". Set the location of …

  3. python - VS Code not recognizing .env file inside workspace folder ...

    Apr 19, 2023 · In order for Python to automatically detect a .env file within a workspace folder, you need to ensure that you have the Python extension installed in VS Code. Once you have the …

  4. 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 …

  5. python - Visual Studio Code Pylance (report Missing Imports )

    Apr 19, 2022 · If you have installed Pylance and Python extensions from VS Code, you should hover your mouse over the missing imports. Then, Pylance will show you an option saying …

  6. Best way to convert .ipynb to .py in VSCode - Stack Overflow

    Oct 10, 2020 · In addition to opening a Jupyter notebook, you can also use one of the following commands from the Command Palette (⇧⌘P) to export content from a Python file in VS Code …

  7. python - VSCode: Why isn't debugger stopping at breakpoints?

    Jun 27, 2019 · I have just installed VS Code and the Python extension, and I have not been able to get the debugger to work. Every time I try to use the debugger, it just skips over any breakpoints …

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

    Nov 7, 2020 · Option 2 Ctrl + Shift + ` This is the cmd window that comes with the Visual Studio Code integration computer. We need to enter the command " python " to enter the Python …

  9. Conda environment not showing up in VS Code - Stack Overflow

    Aug 9, 2021 · VS Code does not show conda environments that don't contain an interpreter. After you create a conda environment, you need to activate it and install some packages in order to …

  10. python - Why do I get a "ModuleNotFoundError" in VS Code despite …

    Jun 19, 2019 · 55 sudo pip install is most likely installing globally into a Python interpreter that is different than the one that you have selected in VS Code.