diff options
Diffstat (limited to 'Lib/lib-stdwin/filewin.py')
-rw-r--r-- | Lib/lib-stdwin/filewin.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/lib-stdwin/filewin.py b/Lib/lib-stdwin/filewin.py deleted file mode 100644 index df6aa7d..0000000 --- a/Lib/lib-stdwin/filewin.py +++ /dev/null @@ -1,20 +0,0 @@ -# Module 'filewin' -# File windows, a subclass of textwin (which is a subclass of gwin) - -import textwin -import __builtin__ - - -# FILE WINDOW - -def open_readonly(fn): # Open a file window - fp = __builtin__.open(fn, 'r') - w = textwin.open_readonly(fn, fp.read()) - w.fn = fn - return w - -def open(fn): # Open a file window - fp = __builtin__.open(fn, 'r') - w = textwin.open(fn, fp.read()) - w.fn = fn - return w |