this:...
While True:
Try:
...
except timeout:
Break
Please format the code you posted, by wrapping it in triple backticks. -> `
timeout in what ?
I don't know the context, But probably you should create a dummy exception class, class TimeOut(Exception): pass
for all exception at once While True: try: ... except: break
Обсуждают сегодня