From bc9c79c6abcc3bb53a09147f2d66f7f36dbca28c Mon Sep 17 00:00:00 2001 From: Jeff Armstrong Date: Wed, 29 May 2013 09:16:47 -0400 Subject: Initial commit of final entry --- run_editor.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 run_editor.py (limited to 'run_editor.py') diff --git a/run_editor.py b/run_editor.py new file mode 100644 index 0000000..df06094 --- /dev/null +++ b/run_editor.py @@ -0,0 +1,16 @@ +#! /usr/bin/env python + +import sys +import os + + +try: + __file__ +except NameError: + pass +else: + libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')) + sys.path.insert(0, libdir) + +import editor +editor.editor() -- cgit v1.2.3