Unable to import win32com - ImportError: cannot import name win32api
We are trying to use the win32com to call printer sdk as below:
from win32com.client import Dispatch
objPrinter = Dispatch(‘Dymo.DymoAddIn’)
print(objPrinter.GetDymoPrinters())
Unable to import win32com - ImportError: cannot import name win32api
We are trying to use the win32com to call printer sdk as below:
from win32com.client import Dispatch
objPrinter = Dispatch(‘Dymo.DymoAddIn’)
print(objPrinter.GetDymoPrinters())
That would require a C DLL. Not going to work. Jython runs in java, which only accepts DLLs that follow java’s JNI rules. Jython can run python libraries that are version-compatible and are pure python. Otherwise, you will need a java library instead. Does dymo have a java API ?
They have javascript
javascript != java, sorry.