A tiny Python tool that removes spaces from a text file.
Before: H e l l o W o r l d
After: HelloWorld
Requires Python 3.9 or newer. No extra packages are needed.
python deletespace.py notes.txt # saves notes_nospace.txt next to the original
python deletespace.py notes.txt -o clean.txt # choose the output file
python deletespace.py notes.txt --all # also remove tabs and line breaksThe original file is never changed.
Türkçe: Bir metin dosyasındaki boşlukları silen küçük bir Python aracı. python deletespace.py dosya.txt yazman yeterli; sonuç dosya_nospace.txt olarak kaydedilir ve orijinal dosyaya dokunulmaz. --all seçeneği sekme ve satır sonlarını da siler.
GPL-3.0