mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-21 01:30:14 +00:00
15 lines
255 B
Markdown
15 lines
255 B
Markdown
# Python Command Line Translator
|
|
Use google translate library to translate text from command line.
|
|
|
|
## Requirements
|
|
|
|
Python 3.xx
|
|
googletrans
|
|
```bash
|
|
pip install googletrans
|
|
|
|
```
|
|
|
|
### Usage
|
|
python Translate.py <text> -s <source_lang> -d <destination_lang>
|