Comment
Author: Admin | 2025-04-28
A simple print("Hello") will not produce any output so I'm not sure what to do. I've tried pressing ctrl+ F5 but haven't found any effective solutions beyond this. i'm using the VS Code IDE under "Code", please help.exited with code=0 in 0.074 secondsImage of my output terminal: fireball.11,5213 gold badges21 silver badges53 bronze badges asked Jun 19, 2020 at 1:01 1 It seems like the 'Code Runner' extension caused it. You can try to disable it to use 'Python' extension instead. answered Jun 22, 2020 at 8:19 Steven-MSFTSteven-MSFT8,4311 gold badge7 silver badges14 bronze badges The reason you have been getting it is because you have code runner extension running on it. Due to which, you are getting code exited 0 error while running the python program.Go to the Extensions -> search for (code-runner) -> Disable options (Click)Then open the vscode and reopen it.You may then try to run the python program to get the desired results. answered Sep 6, 2020 at 7:15 MintuMintu5124 silver badges7 bronze badges go to settings and type this --> @ext:formulahendry.code-runner / then you should see something like Code-runner: Show Execution MessageWhether to show extra execution message like [Running] ... and [Done] ...if there is a mark next to the option remove itenter image description here answered Mar 5, 2021 at 12:01 Your two extensions could be running together like code runner and the official Microsoft python extensions.What worked for me personally was to disable the code runner extension, it will say reload required do that and then your vs code will run on the official python extension which means it will work now on the initial stages. Sach9128 silver badges20 bronze badges answered Jun 23, 2022 at 10:25 You can always open up the integrated terminal (keycode varies, but the default is ctrl+shift+` ) then run python answered Jun 19, 2020 at 1:10 HikashHikash4293 silver badges6 bronze badges Go to the third terminal tab and runpython The output should be visible in that space.The output window only shows the status messages and code=0 means it ran successfully. answered Jun 22, 2020 at 8:34 fireball.1fireball.11,5213 gold
Add Comment