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 python3 | |
# A simple command-line client for Yandex.Translate. | |
# You may pass translate direction as command line parameter e.g. "./dict-client.py fr-en" | |
# Default translate direction is from English to Russian. | |
#!/usr/bin/env python3 | |
import requests | |
import sys |