About 1,010,000 results
Open links in new tab
  1. How to execute Python code from within Visual Studio Code

    May 1, 2015 · First: To run code: use shortcut Ctrl + Alt + N; or press F1 and then select/type Run Code, or right click in a text editor window and then click Run Code in the editor context menu; …

  2. How to run a Python file in Visual Studio code from the terminal?

    Nov 28, 2022 · So if you need to manually type commands in the terminal to run the code. You can directly copy the above command. If you use a virtual environment or have system …

  3. Python - How to show graph in Visual Studio Code itself?

    Apr 24, 2018 · Ok, apparently Microsoft hired Don Jayamanne and he's working on Python and Jupyter for VS Code. And last month they (MS) improved their python extension to support …

  4. python - How to run a few selected lines of code in vscode?

    Dec 21, 2019 · Select one or more lines, then press Shift+Enter or right-click and select Run Selection/Line in Python Terminal. This command is convenient for testing just a part of a file. …

  5. How can I run Python code selected in the active editor in VS Code?

    Apr 11, 2018 · If you highlight some code, you can right-click or run the command, Run Selection/Line in Python Terminal. We are also planning on implementing Ctrl-Enter to do the …

  6. How can I run text selected in the active editor in VS Code's ...

    Aug 31, 2023 · Here is the setting for running selection in "interactive window." In my VS Code (version 1.56.2), I do the following things: go to Settings, search for interactive window, in the …

  7. Key shortcut for running python file in VS code - Stack Overflow

    Apr 27, 2022 · In VS Code, I'm writing python code. I was wondering if there is a key shortcut to run the file instead of pressing the run button in the right top corner of the screen constantly.

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

    Nov 7, 2020 · In Visual Studio Code, you can enter the Python interactive window in the following places: Option 1. F1 → Python: Create Python Interactive Window. This is the Python …

  9. visual studio code - Get the Python console in a VScode - Stack …

    Jan 25, 2023 · Please use the python interactive. There are two ways in vscode, one is terminal and the other is window. Right-click and select Run Current File in Interactive Window to open …

  10. Visual Studio Code: run Python file with arguments

    Apr 30, 2017 · When you debug using this configuration VS Code will provide an entry field for you to enter your command line arguments. These values will be passed into sys.argv. NOTE: …

Refresh