Is it possible to create a python program, that can use google translate? [closed]

StackOverflow https://stackoverflow.com/questions/21535061

  •  06-10-2022
  •  | 
  •  

Question

Is it possible to create a python program, that can interact with Google's Translate?

I'm thinking of a way that firstly opens a .txt file, then reads the first line, then interacts with google translate and translates the word from a spesific language to a spesific language, then logs it into a different txt file.

Main question: Is it possible to make Python 3.3 interact with Google Translate? Please tell me if I didn't explain myself enough.

Thank you, Tharix

Était-ce utile?

La solution

The google API python client supports the google translate and lets you translate from one language to another:

http://code.google.com/p/google-api-python-client/source/browse/#hg%2Fsamples%2Ftranslate

Autres conseils

Maybe you should use something more specific like google translate api :

Google Api sample at google code

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top