Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
* ************************************************************************** | |
* Contributions to this work were made on behalf of the GÉANT project, | |
* a project that has received funding from the European Union’s Framework | |
* Programme 7 under Grant Agreements No. 238875 (GN3) | |
* and No. 605243 (GN3plus), Horizon 2020 research and innovation programme | |
* under Grant Agreements No. 691567 (GN4-1) and No. 731122 (GN4-2). | |
* On behalf of the aforementioned projects, GEANT Association is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import urllib | |
import sys | |
import sounddevice as sd | |
text = "Malá demonstrace hlasu který jde získat z google překladače." | |
encoded_text = urllib.parse.quote(text) |