# 安装插件pythonnet

import clr import sys print(
"Python call CSharp ASAP2LIB.dll") sys.path.append(dll_file) # 把路径添加到系统的环境变量,或把该路径的文件夹放进已经添加到系统环境变量的路径内 clr.FindAssembly("ASAP2LIB.dll") # # 加载动态,如果d=None,表示动态库没有找到 from ASAP2LIB import * # 导入dll a2lParser = DataParser() # 使用dll库

 

相关文章:

  • 2022-01-14
  • 2021-12-26
  • 2021-06-14
  • 2022-12-23
  • 2021-10-22
  • 2021-08-16
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-01-15
  • 2022-12-23
相关资源
相似解决方案