Answer the question
In order to leave comments, you need to log in
Why does python script stop by itself (no errors or warnings)?
I'm running the script in a virtual environment on Ubuntu. In theory, it should work without stopping. But at some point it just stops. The logs are empty, there are no errors. The option with a lack of memory is discarded - there is plenty of it.
Maybe you need to somehow change the design of the script?
test = true
while test == true:
a = input()
print (a)
Answer the question
In order to leave comments, you need to log in
Is this the whole script? or part? true - what is this variable? It's not a boolean value, it's capitalized ( True ). Can something somehow change the value of this variable?
Show the whole code, because this script will fail because true is not initialized.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question