Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-27 Thread Tim Roberts
Brahim EL ALLIOUI wrote: > > The requirement is that we use the odoo erp under windows and we have > a module allowing communication with the timers and which uses the sdk > of the manufacturer. We want to migrate to linux, everything goes well > except this module we have developed ourselves Well

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-27 Thread Denis Akhiyarov
You can call into Mono from CPython on Linux and OSX using pythonnet: https://github.com/pythonnet/pythonnet On Thu, Mar 23, 2017, 10:32 AM Preston Landers wrote: > I wouldn't say it's 100% impossible - there is a thing called Mono which > allows, subject to numerous limitations, running some .

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-27 Thread Brahim EL ALLIOUI
The requirement is that we use the odoo erp under windows and we have a module allowing communication with the timers and which uses the sdk of the manufacturer. We want to migrate to linux, everything goes well except this module we have developed ourselves *Brahim EL ALLIOUI* *General Manager*

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-23 Thread Tim Roberts
Brahim EL ALLIOUI wrote: > > I use win32com.client to integrate a C # dll under python. This works > well under windows > > From win32com.client import Dispatch, pythoncom > From ctypes import cdll > Mydll = cdll.LoadLibrary (spath) > Pythoncom.CoInitialize () > Zk = Dispatch ("zkemkeeper.ZKEM") >

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-23 Thread Preston Landers
I wouldn't say it's 100% impossible - there is a thing called Mono which allows, subject to numerous limitations, running some .NET code on Linux. However it certainly wouldn't be the easiest path to take. I guess the question is why do you feel the need to run this code under Linux. It would be

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-23 Thread Graeme Glass
Are you running this under WINE? On 22 March 2017 at 19:23, Brahim EL ALLIOUI wrote: > Hello, > > I use win32com.client to integrate a C # dll under python. This works well > under windows > > From win32com.client import Dispatch, pythoncom > From ctypes import cdll > Mydll = cdll.LoadLibrary (

[python-win32] Equivalence of win32com.client under Linux

2017-03-23 Thread Brahim EL ALLIOUI
Hello, I use win32com.client to integrate a C # dll under python. This works well under windows >From win32com.client import Dispatch, pythoncom >From ctypes import cdll Mydll = cdll.LoadLibrary (spath) Pythoncom.CoInitialize () Zk = Dispatch ("zkemkeeper.ZKEM") But do not works under unix What