django try without except code example
Example 1: python try without except
try:
print('try to print this')
except:
pass #do nothing
Example 2: only try python
try:
a=2
except:
pass
try:
print('try to print this')
except:
pass #do nothing
try:
a=2
except:
pass