Skip to content

NewlineReplacer is a useful .py file to replace your newline with space. It is very useful when you want to copy some essays.😏

License

Notifications You must be signed in to change notification settings

PinkR1ver/NewlineReplacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NewlineReplacer is a useful tool to replace your newline with space. It is very useful when you want to copy some essays.😏

Awkward Situation:

Do you have this moment:

  • Want to translate your essay to Chinese, but when you put them into Google Translator, it was so many new lines you heed to remove.
  • DDL is in tonight, you want to copy essay qucikly, but you are be bothered by the newline when you copy from pdf.

Demo

Here, the NewlineReplacer Coming!πŸ”₯

You need:

python
py32win

What you need to do is just Run the NewlineReplacer.exeπŸ˜πŸ’– and you can just copy from your ewssay pdf without newlines!!!!πŸ”₯

β”œβ”€β”€ dist
β”‚   β”œβ”€β”€ exe
β”‚   β”‚   β”œβ”€β”€ NewlineReplacer.exe
└── main.py

Solved If you want to see the details of the code, you can check main.py. It's very simple. But it's still a question is that if you do not add:

time.sleep(...)

You will get errors for some reasons. It seems that if you are using win32clipboard.OpenClipboard(), you can not do paste operation before win32clipboard.CloseClipboard(). I am not sure about this. If you know something, pls email me.

Final Notice:🚧

You may be not able to open the NewlineReplacer.exe or run the main.py, that's because Specified clipboard format is not available. You may copy some imgs or something, that will cause the exe stopping.

Now you can use it for without this kind of worries. It will correct your text rather than other files or something.

About

NewlineReplacer is a useful .py file to replace your newline with space. It is very useful when you want to copy some essays.😏

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published