# Path: expyriment/_internals.py
# def get_version():
#     """
#     Return version information about Expyriment and Python.
# 
#     Returns
#     -------
#     version_info : str
# 
#     Notes
#     -----
#     For more detailed information see expyriment.misc.get_system_info().
# 
#     """
# 
#     pv = "{0}.{1}.{2}".format(sys.version_info[0],
#                               sys.version_info[1],
#                               sys.version_info[2])
#             #no use of .major, .minor to ensure MacOS compatibility
#     return "{0} (Python {1})".format(__version__, pv)


import os
import sys
import inspect as _inspect
import expyriment
    import tkinter as _tk  # future (Python 3)
    import tkinter.ttk as _ttk
    import expyriment
    import expyriment
    import expyriment.io.extras
    import expyriment.design.extras
    import expyriment.stimuli.extras
    import expyriment.misc.extras
    import subprocess
    import os
    import sys
    import webbrowser
from pydoc import getdoc as _getdoc
from types import ModuleType, MethodType, FunctionType
from ._internals import get_version
    from types import ModuleType

    _tk.mainloop()


def show_documentation(docu_type=None):
    """Show the Expyriment documentation.


    Parameters
    ----------
    docu_type : int
        the documentation type:
        1 = open online documentation
        2 = open online API reference
        3 = open API reference and search tool

    """

    def call_info():
        print("")
        print("Call show_documentation with the following arguments to get further information:")
        print("     show_documentation(1) -- Open local documentation in web browser")
        print("     show_documentation(2) -- Open online documentation in web browser")
        print("     show_documentation(3) -- Open API Reference Tool")
        print("")


    f = os.path.abspath(__file__)
    path = os.path.abspath(os.path.join(os.path.split(f)[0], ".."))
    if docu_type is None:

# Path: expyriment/_internals.py
# def get_version():
#     """
#     Return version information about Expyriment and Python.
# 
#     Returns
#     -------
#     version_info : str
# 
#     Notes
#     -----
#     For more detailed information see expyriment.misc.get_system_info().
# 
#     """
# 
#     pv = "{0}.{1}.{2}".format(sys.version_info[0],
#                               sys.version_info[1],
#                               sys.version_info[2])
#             #no use of .major, .minor to ensure MacOS compatibility
#     return "{0} (Python {1})".format(__version__, pv)


# Path: expyriment/_api_reference_tool.py
import os
import sys
import inspect as _inspect
import expyriment
    import tkinter as _tk  # future (Python 3)
    import tkinter.ttk as _ttk
    import expyriment
    import expyriment
    import expyriment.io.extras
    import expyriment.design.extras
    import expyriment.stimuli.extras
    import expyriment.misc.extras
    import subprocess
    import os
    import sys
    import webbrowser
from pydoc import getdoc as _getdoc
from types import ModuleType, MethodType, FunctionType
from ._internals import get_version
    from types import ModuleType


    _tk.mainloop()


def show_documentation(docu_type=None):
    """Show the Expyriment documentation.


    Parameters
    ----------
    docu_type : int
        the documentation type:
        1 = open online documentation
        2 = open online API reference
        3 = open API reference and search tool

    """

    def call_info():
        print("")
        print("Call show_documentation with the following arguments to get further information:")
        print("     show_documentation(1) -- Open local documentation in web browser")
        print("     show_documentation(2) -- Open online documentation in web browser")
        print("     show_documentation(3) -- Open API Reference Tool")
        print("")


    f = os.path.abspath(__file__)
    path = os.path.abspath(os.path.join(os.path.split(f)[0], ".."))
    if docu_type is None:

        print("Welcome to Expyriment {0}".format(get_version()))