Beispiel #1
0
    ~~~~~~~~~~~~~~~~~~

    :author:       Brigitte Bigi
    :organization: Laboratoire Parole et Langage, Aix-en-Provence, France
    :contact:      [email protected]
    :license:      GPL, v3
    :copyright:    Copyright (C) 2011-2017  Brigitte Bigi
    :summary:      Run the Help Browser tool

"""
import sys
import os.path
import traceback

from butils import exit_error, check_python
check_python()

try:
    import wx
except ImportError:
    exit_error("WxPython is not installed on your system\n. "
               "The Graphical User Interface of SPPAS can't work. "
               "Refer to the installation instructions of the SPPAS web site.")

# import SPPAS Application Programming Interface
# ----------------------------------------------

PROGRAM = os.path.abspath(__file__)
SPPAS = os.path.dirname(os.path.dirname(os.path.dirname(PROGRAM)))
sys.path.append(SPPAS)
Beispiel #2
0
    :author:       Brigitte Bigi
    :organization: Laboratoire Parole et Langage, Aix-en-Provence, France
    :contact:      [email protected]
    :license:      GPL, v3
    :copyright:    Copyright (C) 2011-2017  Brigitte Bigi
    :summary:      Run the Visualizer analysis tool

"""
import sys
import os.path
import traceback
from argparse import ArgumentParser

from butils import exit_error, check_python
check_python()

try:
    import wx
except ImportError:
    exit_error("WxPython is not installed on your system\n. "
               "The Graphical User Interface of SPPAS can't work. "
               "Refer to the installation instructions of the SPPAS web site.")

# import SPPAS Application Programming Interface
# ----------------------------------------------

PROGRAM = os.path.abspath(__file__)
SPPAS = os.path.dirname(os.path.dirname(os.path.dirname(PROGRAM)))
sys.path.append(SPPAS)