๐Ÿ“ฆ littlecodersh / translation

๐Ÿ“„ run.py ยท 8 lines
1
2
3
4
5
6
7
8from translation import Translation, baidu, google, youdao, iciba, bing

print(baidu('hello world!', dst = 'zh'))
print(youdao('hello world!', dst = 'zh-CN'))
print(iciba('hello world!', dst = 'zh'))
print(google('hello world!', dst = 'zh-CN'))
print(bing('hello world!', dst = 'zh-CHS'))