This except clause does not have a specified exceptions type to catch. This could have potential issues since your design might have other operations for some other exceptions rather than simply reporting the error. Or, if we want to use this general exception, we could print out the real error rather than just hard code ``error'' as the message.
https://github.com/ash16/TYTS/blob/c13ea69e5337df93cd12c7e8b882b7c2734511ba/buddingEmotion.py#L70-L71
This except clause does not have a specified exceptions type to catch. This could have potential issues since your design might have other operations for some other exceptions rather than simply reporting the error. Or, if we want to use this general exception, we could print out the real error rather than just hard code ``error'' as the message.