Python: Translate

From OnnoWiki
Revision as of 18:52, 4 February 2017 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instal

pip install goslate

Code

import goslate
gs = goslate.Goslate()
print(gs.translate('hello world', 'de'))

Hasilnya

Hallo Welt

id kayanya tidak jalan :( ... hik hik ..


Referensi