Il 05/07/2017 14:46, Gabriele Battaglia ha scritto:
Giorno.
Una questione semplicissima.
Per far sì che il blocco try...except, intercetti questo errore:
socket.error: [Errno 10054] Connessione in corso interrotta
forzatamente dall'host remoto
Cosa bisogna scrivere dopo
except?
L'errore da gestire:
https://docs.python.org/2/library/errno.html#errno.ECONNRESET
Un esempio: https://stackoverflow.com/a/20187674
GdS
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python