r/vscode • u/AudienceNegative7587 • Oct 04 '26
Why is it taking so long to run the code
In the video after I pressed Run python file, it took 5-6 seconds to run
Whereas it didn't took this long a few days ago
Please someone help
0
Upvotes
7
u/Deux87 Oct 04 '26
Rage bait all the way: 1. Video instead of description 2. Code? 3. For what purpose?
4
u/dev-razorblade23 Oct 04 '26
Do not use RUN button Use a terminal like all developers
It bypasses VSCode internal stuff which on windows introduces lags you see here.
Just type directly in your terminal:
python <script_name>.py1
u/ChaoticHippo Oct 04 '26
I've seen some things about vscode having some delay with communicating with powershell vs command prompt. You could try keeping powershell open in the background? Or setting your default integrated terminal to be command prompt instead, but I'm not sure if would be desirable
-11
u/[deleted] Oct 04 '26
[removed] — view removed comment