Closed Mateinho11 closed 1 year ago
Hi @Mateinho11! I believe "Run Code" comes from the Code Runner extension. If you'd like to run Python code in the terminal with the Python extension, you can either disable Code Runner or click on the down arrow next to the run icon and then select "Run Python File":
You should only need to do this once, as the next time you click the play button it should default to the last command you ran there (in this case, Run Python File.)
I'm going to close this issue but let me know if it doesn't solve your problem and we can reopen it 😊
Type: Performance Issue
Hi, I'm starting programming with Python and the first day all was right, the second day when I was testing I clicked on the "run code" button and instead of run in the integrated terminal it started at the "Output". I don't know how solve it Thank you.
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
|Item|Value| |---|---| |CPUs|AMD Ryzen 7 5800X 8-Core Processor (16 x 3800)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.93GB (10.81GB free)| |Process Argv|--crash-reporter-id ee7bad49-c085-4c44-b273-6146ec28ec2f| |Screen Reader|no| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 0 92 14020 code main 0 27 2228 crashpad-handler 0 96 3104 shared-process 0 78 7492 fileWatcher [1] 0 90 7844 gpu-process 0 177 12316 window [1] (calculadora.py - Proyectos - Visual Studio Code) 0 77 12484 ptyHost 0 143 14636 extensionHost [1] 0 91 17308 c:\Users\Usuario\AppData\Local\Programs\Python\Python311\python.exe c:\Users\Usuario\.vscode\extensions\ms-python.pylint-2023.4.0\bundled\tool\lsp_server.py 0 11 17288 console-window-host (Windows internal process) 0 132 19620 electron-nodejs ("C:\Users\Usuario\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Usuario\.vscode\extensions\ms-python.vscode-pylance-2023.6.30\dist\server.bundle.js --cancellationReceive=file:5334d5a47a544a425923c0499e4ac80a5f552b286b --node-ipc --clientProcessId=14636) 0 42 22988 c:\Users\Usuario\AppData\Local\Programs\Python\Python311\python.exe c:\Users\Usuario\.vscode\extensions\ms-python.autopep8-2023.4.0\bundled\tool\lsp_server.py 0 11 23684 console-window-host (Windows internal process) 0 87 20680 window [2] (Issue Reporter) 0 43 22144 utility-network-service ```Workspace Info
``` | Window (calculadora.py - Proyectos - Visual Studio Code) | Folder (Proyectos): 13 files | File types: py(10) json(1) | Conf files: settings.json(1); ```Extensions (6)
Extension|Author (truncated)|Version ---|---|--- prettier-vscode|esb|9.16.0 code-runner|for|0.12.0 autopep8|ms-|2023.4.0 pylint|ms-|2023.4.0 python|ms-|2023.10.1 vscode-pylance|ms-|2023.6.40 (1 theme extensions excluded)A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30776702 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30610678 282f8724:30602487 pyind779:30671433 f6dab269:30613381 vscrp:30673768 pythonsymbol12:30671437 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 03d35959:30757346 pythonfmttext:30731395 pythoncmvfstrcf:30756944 fixshowwlkth:30771522 pythongtdpath:30769146 e440d664:30776459 pythonidxptcf:30772540 pythondjangotscf:30772537 pythonnoceb:30776495 ```