diff options
Diffstat (limited to 'lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py')
-rw-r--r-- | lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py b/lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py new file mode 100644 index 0000000..dffb818 --- /dev/null +++ b/lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python2 + +# This module provides an importable module that can do the same +# things as the Editra script, namely, set up the sys.path and +# sys.modules for Editra and then start Editra running. This is done +# by using execfile() to execute the code in the Editra script as if +# it was in this module, and then the importer of this module can call +# the main() function defined there. + +import os +launcher = os.path.join(os.path.dirname(__file__), 'Editra') +execfile(launcher) + |