$ pip install googletrans
Here is what the above code is Doing:
1. We import the googletrans module.
2. We create a Translator object.
3. We call the translate() method on the Translator object.
4. We pass the text we want to translate as the first argument to the translate() method.
5. We pass the language we want to translate the text into as the second argument to the translate() method.
6. We print the translated text.