|
Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here). |
![]() |
|||
Clean Text Of High Level ASCII.py
From FritzWiki
http://fritzfreiheit.com/wiki/Clean_Text_Of_High_Level_ASCII.py is best viewed with JavaScript turned on.
# python script; utf-8
#
# Clean_Text_Of_High_Level_ASCII.py
#
import os, sys, re
# http://npppythonscript.sourceforge.net/docs/latest/scintilla.html#helper-methods
editor.pyreplace(r'“','"')
editor.replace(r'”','"')
editor.replace(r"‘","'")
editor.replace(r"’","'")
editor.replace(r"—","---")
editor.replace(r"–","--")
editor.replace(r"«","<<")
editor.replace(r"»",">>")
editor.replace(r"…","...")
editor.replace(r"©","(c)")
editor.replace(r"™","(tm)")
- All_html_headers_to_new_file.py
- Clean_Cliche_file.py
- Clean_Text_Of_High_Level_ASCII.py
- EscapeHtml.py
- DoubleSpaceLines.py
- FixLibreOfficeHtmlExport.py
- Lines_Matching_RE.py
- MakeHtmlDocument.py
- PrependWikiIndents.py
- TrimWhiteSpace.py
- (v)
Categories[edit]
- ASCII (category)
- Has Data Table (category)
- Has Layout (category)
- Has LayoutPre (category)
- Has Nav (category)
- Has Tags (category)
- Macro (category)
- NotepadPlusPlus (category)
- NotepadPlusPlus Script (category)
- Python (Computer Language) (category)
- Python Script (category)
- Script (category)
- Word Smithy (category)
- Writing (category)
