I have a Python (3) script running on Linux, referred to as the main script, which has to call a routine from a proprietary DLL. So far, I have solved this with Wine using the following construct: The script dll_call.py is executed by a Windows Python (3) interpreter installed under Wine. It dumps the return values into a file which