About 50 results
Open links in new tab
  1. How to run a Python file in Visual Studio code from the terminal?

    Nov 28, 2022 · Open the folder using VS Code: File -> Open Folder Create your script and save it in the folder Open a new terminal: Terminal -> New Terminal Type the command: python …

  2. How to execute Python code from within Visual Studio Code

    May 1, 2015 · I really like the look and feel/usability/features of Visual Studio Code, but I can't seem to find out how to run my Python code, a real killer because that's what I program primarily in. Is there is …

  3. Visual Studio Code: run Python file with arguments

    Apr 30, 2017 · Connect to it from within VS Code using the Python "Remote Attach" debug configuration (using the default host and port settings). You can just control+c and then re-run the command with …

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

  5. How to run a Python program with arguments from within Visual …

    Oct 14, 2016 · I am running a Python program that takes some command line arguments. How can I provide these arguments when I am building a program within the Visual Studio Code?

  6. Visual Studio Code: How debug Python script with arguments

    I'm using Visual Studio Code with the inbuilt Debugger in order to debug a Python script. Following this guide, I set up the argument in the launch.json file: But when I press on Debug, it says th...

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

    Nov 7, 2020 · 23 If you type # %% in your Visual Studio Code editor while editing a .py file, then an interactive cell is created and it can be evaluated. The nice part of this is that # denotes a comment …

  8. Visual Studio Code not running Python - Stack Overflow

    I'm using the newest version of Visual Studio Code and Python 3.6 (64 bit) on Windows 10. I have the "Python" extension installed (the one made by Microsoft). Every time I try to run a si...

  9. Visual Studio Code is not showing the output of Python

    Mar 28, 2018 · Simplest Answer: Run the file directly in a terminal Open a terminal in VS Code (View/Terminal in menu or Ctrl-`, which is the "Ctrl" key and the "Grave" or "Tick-mark" key, normally …

  10. visual studio code - How do i run python file in cmd from vscode ...

    Mar 27, 2019 · If you find my answer helpful you could generalize is post better by getting rid of the vscode part. Post title could be "How to run python script in windows cdm prompt to read long …