How To Handle Exception In Python