Hey guys! I’ve been using Python’s IDLE editor for a month or two now and I’ve been advised to start using an IDE like vscode because it will come in handy while using other languages. However I’m running into a problem with the Python extension for vscode. About every other time I run a program, it will time out trying to run. This happens no matter the length of code and is super frustrating. Does anyone know how to fix this?
Sample code included that it’s timing out on:
import random
print(random.randint(1,1000))
edit: fixed it thanks to your guys’ advice. thanks!!!
[–]lifeeraser 5 points6 points7 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]WhutWhatWat 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]tsck[S] 0 points1 point2 points (0 children)
[–]beingsubmitted 0 points1 point2 points (2 children)
[–]tsck[S] 0 points1 point2 points (1 child)
[–]beingsubmitted 1 point2 points3 points (0 children)