August 2021
Intermediate to advanced
384 pages
9h 15m
English
So far, we’ve taught Python how to speak and listen in English. But Python can understand many other world languages. In this chapter, you’ll first teach Python to talk in several other languages with the modules we’ve been using. I’ll then introduce a useful module called translate, which can translate one language to another, and you’ll use this to silently translate languages. Then we’ll add the speech recognition and text-to-speech features so you can speak one language to the Python script and the script will say the translation in another language of your choice.
As usual, all scripts in this chapter are available ...
Read now
Unlock full access