CopyTranslator
Posted 超立方体
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CopyTranslator相关的知识,希望对你有一定的参考价值。
Copy, Translate, and Paste with Google translate API
Get started
Environment
- Python 2.7 or Python 3 and higher
Requirements
Only windows can automatically install wxpython
using pip
, in other OS you need to install wxpython
manually.
Windows
- pip
In windows, pip can help install all the install requirements.
Unbuntu or other Linux release with GUI
- pip
- wxpython
- xclip
In linux, wxpython
can‘t be installed using pip, and we need xclip
to help pyperclip
work.
Here are the example to install the requirements
sudo apt-get install python-wxtools
sudo apt-get install xclip
For more information, refer to the installation of wxpython
and pyperclip
OS X
- wxpython
- pip
In OS X, wxpython
can‘t be installed using pip.
Please refer to the installation of wxpython
.
It has not been tested yet. If someone had tried, please create a PR to help improve the documentation.
Setup
Install this Application using pip
:
pip install CopyTranslator
Example usage
Run shell command
CopyTranslator
Screenshots
Windows 10
Unbuntu
Source
https://github.com/agentzheng/CopyTranslator
Acknowledgements
Thanks to the developers of wxpython, googletrans, pyperclip.
License
The code is licensed under Mozilla Public License 2.0.
以上是关于CopyTranslator的主要内容,如果未能解决你的问题,请参考以下文章