使用 Python 做翻译器的话,你可以使用 Python 的第三方库来实现。例如,你可以使用 googletrans 库来实现翻译。 安装 googletrans 库: pipinstall googletrans