[Tutor] retrieve google translate sound files through python

Norman Khine norman at khine.net
Sun Oct 3 08:56:18 CEST 2010


does anyone know how i can extend this example
http://stackoverflow.com/questions/1136604/how-do-i-use-the-json-google-translate-api
and be able to download the sound file produced by the translation?

thanks

norman

-- 
˙uʍop ǝpısdn p,uɹnʇ pןɹoʍ ǝɥʇ ǝǝs noʎ 'ʇuǝɯɐן sǝɯıʇ ǝɥʇ puɐ 'ʇuǝʇuoɔ
ǝq s,ʇǝן ʇǝʎ
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )


More information about the Tutor mailing list