Do you have such troubles? Faced with a bunch of foreign documents, you need to copy them into Google Translate. However, copying each line has a space behind it. You need to manually delete it. It is really annoying. Now complete with one click!
You need install pyperclip
by pip install pyperclip
to run '*.py'
Also can run released *.exe
file, as you wish.
- Copy some paragraphs of Pdf to your clipboard, ctrl + C
- Run the *.py file in this project
- Paste into Google Translate ctrl + v