""" ======================================================================== Run without a DOS pop up on Windows. Could use just a .pyw for both imports and launch, but .py file retained for seeing any printed text. Could also import and run textEditor.main() (and skip the encoding). This is assumed to run only in the same folder as textEditor.py, and is not available or useful when PyEdit is a frozen Windows executable. ======================================================================== """ exec(open('textEditor.py', encoding='utf-8').read()) # as if pasted here