def swig_import_helper()

in tbapi/__init__.py [0:0]


    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            directory = '/'.join((dirname(__file__), platform, 'x64', subdir))
            fp, pathname, description = imp.find_module('_tbapi', [directory])
        except ImportError:
            import _tbapi
            return _tbapi
        try:
            _mod = imp.load_module('_tbapi', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod