mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +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>
|