我如何在python中调用dll [英] how can i call dll in python

查看:384
本文介绍了我如何在python中调用dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是python的初学者,我的问题是:
我不会在python中使用c#编写的dll((在python中调用dll)
dll的名称是DllUmorpheme.
AutoSegToMorph.Umorpheme的公共字符串LastSegment(字符串输入)成员
AutoSegToMorph是名称空间
词素是一类
LastSegment是此类的方法

我如何在python中调用此方法,请帮助我

i am beginer in python my problem is :
i wont to use dll written by c# in python,(call dll in python)
the name of dll is DllUmorpheme.
public string LastSegment(string Input) member of AutoSegToMorph.Umorpheme
AutoSegToMorph is namespace
Umorpheme is a class
LastSegment is method of this class

how can i call this method in python,please help me

推荐答案

没有这样的概念调用DLL".可以调用一种方法/函数/过程.

如果您对它进行谷歌搜索,就可以轻松找到它.参见 http://stackoverflow.com/questions/252417/how-can -i-use-a-dll-from-python [ ^ ].

查找更多信息: http://lmgtfy.com/?q=DLL+use+in+Python [ ^ ].

—SA
There is no such concept "call a DLL". One can call a method/function/procedure.

You would easily find it if you Googled for it just a bit. See http://stackoverflow.com/questions/252417/how-can-i-use-a-dll-from-python[^].

Find more: http://lmgtfy.com/?q=DLL+use+in+Python[^].

—SA


这篇关于我如何在python中调用dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆