alert("Invalid new_pwd ..Paswword Must Contain atleast 1 number,One Capital and a Small lettered Alphabet"); </script> </body> </div> </html> """) else: connectTodb = accountObj.connectToMysqlDb() accountDetail = accountObj.forgotPassword(connectTodb, account_number, new_pwd) connectTodb.close() logging.info(accountObj.errorFlag) if accountObj.errorFlag == '1': accountObj.display404Error() else: print(""" <html> <head> <title>NPB Payee Transaction Message</title> </head> <body> <script> alert("Password Reset Successfull"); </script> </body> </html> """)