Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exception Handling
#3
you can have a try: ... except ValueError ... finnaly ...
sequence for example.
if there is a ValueError raised during the try clause, the except clause will be executed, but not if there as an exception that is not a value error. In both cases, finally will be executed.
Reply


Messages In This Thread
Exception Handling - by grkiran2011 - Oct-05-2018, 01:54 PM
RE: Exception Handling - by ichabod801 - Oct-05-2018, 02:51 PM
RE: Exception Handling - by Larz60+ - Oct-05-2018, 02:56 PM
RE: Exception Handling - by volcano63 - Oct-05-2018, 03:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star python exception handling handling .... with traceback mg24 3 1,373 Nov-09-2022, 07:29 PM
Last Post: Gribouillis
  TicTacToe Game Add Exception Handling and Warning Function ShaikhShaikh 5 2,520 Nov-03-2021, 05:02 PM
Last Post: deanhystad
  Exception handling in regex using python ShruthiLS 1 2,417 May-04-2020, 08:12 AM
Last Post: anbu23
  Exception handling Calli 2 2,522 Apr-20-2020, 06:13 PM
Last Post: Calli
  Handling exception from a module dchi2 11 5,797 Nov-25-2019, 08:47 AM
Last Post: dchi2
  problem using custom exception handling in python srm 3 3,125 Jul-03-2019, 09:10 PM
Last Post: ichabod801
  an easy way to disable exception handling Skaperen 6 5,611 Jun-02-2019, 10:38 PM
Last Post: Gribouillis
  exception handling KyawMyo 3 2,953 May-07-2019, 07:53 AM
Last Post: buran
  Database operation exception handling LostInCode 1 2,552 Jan-03-2019, 07:50 PM
Last Post: jeanMichelBain
  During handling of the above exception, another exception occurred Skaperen 7 27,097 Dec-21-2018, 10:58 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020