Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(81)  |  Call(63)  |  Derive(0)  |  Import(18)

src/p/y/pyjx-0.1.3/pyjs/runners/mshtml.py   pyjx(Download)
from comtypes import IUnknown, GUID, COMMETHOD, CoCreateInstanceEx
from comtypes.automation import IDispatch, VARIANT
from comtypes.client import wrap, GetModule
from comtypes.client.dynamic import Dispatch
 
import comtypes.gen
 
if not hasattr(sys, 'frozen'):
    GetModule('shdocvw.dll')
    GetModule('shdocvw.dll')
    try:
        GetModule('msxml2.dll')
    except:
        pass
    try:
        GetModule('msxml3.dll')
        pass
    try:
        GetModule('msxml6.dll')
    except:
        pass

src/p/y/pyhardware-0.0.12/pyivi/ivifactory/__init__.py   pyhardware(Download)
import sys
import os
import ctypes
from comtypes.client import CreateObject, GetModule
from comtypes import gen
sys.path.append(os.environ["IVIROOTDIR32"] + "/Bin/Primary Interop Assemblies")
GetModule("IviConfigServer.dll")
DRIVER_SESSION = CreateObject("IviConfigServer.IviDriverSession",
             interface=gen.IVICONFIGSERVERLib.IIviDriverSession)
GetModule("IviDriverTypeLib.dll")
from comtypes.gen.IviDriverLib import IIviDriver
GetModule("IviSpecAnTypeLib.dll")
from comtypes.gen.IviSpecAnLib import IIviSpecAn 
GetModule("IviScopeTypeLib.dll")

src/p/y/pyivi-0.0.8/pyivi/ivifactory/__init__.py   pyivi(Download)
import sys
import os
import ctypes
from comtypes.client import CreateObject, GetModule
from comtypes import gen
sys.path.append(os.environ["IVIROOTDIR32"] + "/Bin/Primary Interop Assemblies")
GetModule("IviConfigServer.dll")
DRIVER_SESSION = CreateObject("IviConfigServer.IviDriverSession",
             interface=gen.IVICONFIGSERVERLib.IIviDriverSession)
GetModule("IviDriverTypeLib.dll")
from comtypes.gen.IviDriverLib import IIviDriver
GetModule("IviSpecAnTypeLib.dll")
from comtypes.gen.IviSpecAnLib import IIviSpecAn 
GetModule("IviScopeTypeLib.dll")

src/p/y/pyinstruments-0.4.5/pyivi/ivifactory/__init__.py   pyinstruments(Download)
import sys
import os
import ctypes
from comtypes.client import CreateObject, GetModule
from comtypes import gen
sys.path.append(os.environ["IVIROOTDIR32"] + "/Bin/Primary Interop Assemblies")
GetModule("IviConfigServer.dll")
DRIVER_SESSION = CreateObject("IviConfigServer.IviDriverSession",
             interface=gen.IVICONFIGSERVERLib.IIviDriverSession)
GetModule("IviDriverTypeLib.dll")
from comtypes.gen.IviDriverLib import IIviDriver
GetModule("IviSpecAnTypeLib.dll")
from comtypes.gen.IviSpecAnLib import IIviSpecAn 
GetModule("IviScopeTypeLib.dll")

src/p/y/pyjs-HEAD/pyjs/runners/mshtml.py   pyjs(Download)
from comtypes import IUnknown, GUID, COMMETHOD, CoCreateInstanceEx
from comtypes.automation import IDispatch, VARIANT
from comtypes.client import wrap, GetModule
from comtypes.client.dynamic import Dispatch
 
import comtypes.gen
 
if not hasattr(sys, 'frozen'):
    GetModule('shdocvw.dll')
    GetModule('shdocvw.dll')
    try:
        GetModule('msxml2.dll')
    except:
        pass
    try:
        GetModule('msxml3.dll')
        pass
    try:
        GetModule('msxml6.dll')
    except:
        pass

src/b/u/Buggery-HEAD/buggery/utils.py   Buggery(Download)
    # XXX HACKHACKHACK this makes me feel dirty. And not in a good way.
    tlb_file = os.path.join(os.path.dirname(__file__), "DbgEng.tlb")
    comtypes.client.GetModule(tlb_file)
 
    from comtypes.gen import DbgEng
def module_from_tlb(tlb_file):
    comtypes.client.GetModule(tlb_file)
 
def find_dbg_eng_path():
    def check_registery():

src/w/m/wmdlib-0.1dev-r17/wmdlib/lowlevel/MediaDevMgrFactory.py   wmdlib(Download)
_lcid = 0 # change this if required
from ctypes import *
from comtypes.client import GetModule
GetModule("stdole2.tlb")
import comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0

src/i/n/infi.wmi-0.1.24/src/infi/wmi/comtypes/comtypes/client/_events.py   infi.wmi(Download)
            tinfo = pci.GetClassInfo()
            tlib, index = tinfo.GetContainingTypeLib()
            from comtypes.client import GetModule
            GetModule(tlib)
            interface = comtypes.com_interface_registry[str(guid)]

src/c/h/chemshapes-HEAD/host/pygletHG/experimental/directshow.py   chemshapes(Download)
filename = sys.argv[1]
 
qedit = client.GetModule('qedit.dll') # DexterLib
quartz = client.GetModule('quartz.dll') # 
 

src/c/o/comtypes-1.0.0/comtypes/automation.py   comtypes(Download)
            return self
        elif vt == VT_RECORD:
            from comtypes.client import GetModule
            from comtypes.typeinfo import IRecordInfo
 
 
            # load typelib wrapper module
            mod = GetModule(tlib)
            # retrive the type and create an instance
            value = getattr(mod, ri.GetName())()

  1 | 2 | 3 | 4  Next