Using ctypes in python to access a C# dll's methods

前端 未结 5 2190
生来不讨喜
生来不讨喜 2020-12-16 02:48

I would like to implement C# code in a critical part of my python program to make it faster. It says (on Python documentation and this site) that you can load a Dynamic Link

5条回答
  •  星月不相逢
    2020-12-16 03:04

    A C# DLL is really referred to as an Assembly so it is quite different. Unless there is a very important reason I suggest you use C++

提交回复
热议问题