Google menerjemahkan Python
from deep_translator import GoogleTranslator
print(GoogleTranslator('auto','en').translate('Hola!'))
yungmaz13
from deep_translator import GoogleTranslator
print(GoogleTranslator('auto','en').translate('Hola!'))
# install
# pip install googletrans
from googletrans import Translator
translator = Translator()
result = translator.translate('Mitä sinä teet')
print(result)
# result :
#Translated(src=fi, dest=en, text=What are you doing, pronunciation=None, extra_data="{'confiden...")
you can use a much better python code for translating with google:
https://neculaifantanaru.com/en/python-code-text-google-translate-website-translation-beautifulsoup-new.html