Did I find the right examples for you? yes no

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)

src/i/o/ioHub-HEAD/iohub/client.py   ioHub(Download)
from .devices.experiment import MessageEvent,LogEvent
from .constants import DeviceConstants,EventConstants
from .util import updateDict,MessageDialog, print2err,printExceptionDetailsToStdErr,ioHubError,win32MessagePump, ioHubConnectionException, ioHubServerError
from .net import UDPClientConnection
 
                self._server_process.terminate()
            except Exception as e:
                raise ioHubConnectionException(e)
            finally:
                sys.exit(1)
            # << WIN32_ONLY
            except Exception as e:
                raise ioHubConnectionException(e)
        else:
            return True
        """
        if self.experimentID is None:
            raise ioHubConnectionException("Experiment ID must be set by calling _sendExperimentInfo before calling _sendSessionInfo.")
        if 'code' not in sessionInfoDict:
            raise ioHubConnectionException("Code must be provided in sessionInfoDict ( StringCol(24) ).")

src/p/s/psychopy-HEAD/psychopy/iohub/__init__.py   psychopy(Download)
from constants import EventConstants, DeviceConstants, KeyboardConstants, MouseConstants, EyeTrackerConstants
 
from util import print2err, printExceptionDetailsToStdErr, ioHubError, createErrorResult, ioHubServerError, ioHubConnectionException
from util import fix_encoding, OrderedDict, module_directory, updateDict
from util import isIterable, getCurrentDateTimeString, convertCamelToSnake