googletrans in python

Jack Dangler tdldev at gmail.com
Mon Apr 4 07:36:31 EDT 2022


On 4/12/21 15:24, Karsten Hilbert wrote:
> Am Mon, Apr 12, 2021 at 12:48:23PM -0400 schrieb Quentin Bock:
>
>> Can someone explain the basics of googletrans in python?
>> I want to make a program that translates stories into English, but I'm not
>> sure how to get a translation printed. Also, is this needed to be done in
>> an HTML file inside python?
>> If so can someone provide basic code for a translation and how that should
>> be written and work?
> You might want to post the entire homework assignment verbatim.
>
> That way people might better understand which part of it to
> help you with in what way.
>
> As to your description of what you want to achieve -- what
> did you already try ?
>
> Karsten
> --
> GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B

A quick google run turns up a lot of stuff with various interfaces, Pypi 
being one of the more consistent. However, if the more technical 
theorist or stoic documentation sites don't help you, this one seems to 
at least take a more 'tutorial' approach -

https://medium.com/mlearning-ai/translate-famous-quotes-one-language-to-another-for-fun-using-googletrans-644956e3313a

Do post an update to how you are getting on. Many more people will be 
responsive to the work once you dig in...

Jack



More information about the Python-list mailing list