May 2018
Beginner
490 pages
13h 16m
English
Google's translation service needs at least three values to return a result:
More options are available as described in the following sections.
With this in mind, the translation function will work as follows:
def g_translate(source,targetl): service = build('translate', 'v2',developerKey='your Key') request = service.translations().list(q=source, target=targetl) response = request.execute() return response['translations'][0]['translatedText']
In the Google_translate.py ...
Read now
Unlock full access