赞
踩
pip install google_trans_new
from google_trans_new import google_translator
translator = google_translator()
translate_text = translator.translate('美国下一届总统将会是谁?',lang_src='zh-cn',lang_tgt='en')
print(translate_text)
默认自动检测语种
Who will be the next president of the United States?
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。