Printing to command line stops working after some time

Viewed 130

I have a general question: Usually when I do python scrips, I have some logs printed to console with the print() command. While I run my script in Visual Studio Code it works as intendend. However, if I run my script in command line or Windows PowerShell, at random times it suddenly stops printing. I can make it continue sometimes by hitting the Enter key. Its not just the printing, it looks like the whole script stopped working and by Enter it continues. As this happened with alot of different scripts, I wanted to ask if there is something general I am missing or why it may stop working. Thanks

0 Answers
Related