Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
try:
|
||||
temp = 0/0
|
||||
except:
|
||||
print "An error occurred."
|
||||
# here, 'finally' executes when the try - except block ends, regardless of whether an error was raised or not
|
||||
# useful in areas such as closing opened file streams in the try block whether they were successfully opened or not
|
||||
finally:
|
||||
print "End of 'try' block..."
|
||||
# Output :
|
||||
# An error occurred
|
||||
# End of 'try' block...
|
||||
Loading…
Add table
Add a link
Reference in a new issue