# pyException-handler Python Exception Handler Package
from ExceptionHandler import *
- try:
- print(specialCharacterCheck('Rahat@!'))
- except Exception as e:
- print ("Exception Reson:",e.message)
- try:
- print(specialCharacterCheck('Rahat@!'))
- except Exception as e:
- print ("Exception Reson:",e.message)
https://github.com/mirbahar/pyException-handler/blob/master/example.py
Special Character : ['@','!', '$', '~', '&', '#']
Number List: [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]