How to fix: AttributeError: 'NoneType' object has no attribute 'group'
How to fix: AttributeError: 'NoneType' object has no attribute 'group' Question: I am running the following code:- from googletrans import Translator, constants from pprint import print # init the Google API translator translator = Translator() # translate a spanish text to english text (by default) translation = translator.translate("Hola Mundo") print("{} ({}) –> {} ({})".format(translation.origin, translation.src, …