Sesiones de PyR
exeption finally
1 Voto
3 RespuestasException handling
2 Votos
2 RespuestasWhat is the problem?
1 Voto
6 Respuestasjava multiple exception
0 Votos
1 Respuestajava Exception
2 Votos
3 RespuestasHow fix the error
3 Votos
9 RespuestasIf except can handle common errors very well, doesn't that make the use of raise redundant inside of a try-except block?
For example:
try:
print( 5 / 0 )
except ZeroDivisionError:
raise ValueError("An error occurred!")
What's the difference if we handle it this way:
try:
print( 5 / 0 )
except (ZeroDivisionError, ValueError):
print("An error occurred!")
3 Votos
2 RespuestasWhat is an exception
3 Votos
2 RespuestasTry/catch body
1 Voto
1 RespuestaException
1 Voto
2 RespuestasEn tendencia hoy
Guys help please
0 Votes
Python question
2 Votes
Python
1 Votes
Front-end vs Full-stack
1 Votes
Are websites hackable?
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
C# and sql
1 Votes
TICTACTOE
0 Votes
What course to take for AI?
0 Votes