[Tutor] Converting .pyd to .so
Hello, I was wondering if it would be possible to convert a .pyd file that works on Windows into a .so file that works on Linux? I gather that it might not be possible to convert the .pyd file if the underlying DLL file was built with Windows API calls (Swig was used to wrap up the DLL into a pyd file). Is there a wrapper or something that can interface to the .pyd to make it Linux compatible? Any ideas? Thanks, Iyer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting .pyd to .so
> Well, there's Wine, a free implementation of Windows for Unix systems. You > can either try to load the DLL using Wine and ctypes (I suspect that's the > hard way), or just run the Windows Python distribution through Wine and load > the wrapper .pyd into that. I assume the DLL is only available in binary form? > > > Wine is a good suggestion, but it takes up 3.53 MB. Is there a lighter alternative? The DLL is available in both source and binary form. -Iyer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor