c# - 结合 c# 和 python 以便在 vs 中制作 Windows 窗体应用程序

标签 c# python visual-studio user-interface web-applications

是否可以使用 c# 作为 GUI 在 vi​​sual studio 中制作一个 Windows 窗体应用程序,然后使用 python 来发出 api 请求和数据库调用?如果是这样,人们会怎么做呢?

最佳答案

可以使用多种方法,在 this tutorial 中描述了 visual studio 中的一种方法。 .

准确地说 IronPython是什么使得将 python 脚本嵌入到 c# 项目成为可能。

关于c# - 结合 c# 和 python 以便在 vs 中制作 Windows 窗体应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51148382/

相关文章:

git - Visual Studio 2015 git 出错

C#语法,将委托(delegate)分配给一个类,稍后调用

c# - 虚函数在 C# 和 Java 中如何工作?

Python - SQLite3 中的操作错误

python - 一些 Numpy 函数返回 ndarray 而不是我的子类

visual-studio - 无法从 Visual Studio 2017 DTE 中的 Powershell 控制台访问 FileCodeModel

基于 C# 服务的数据库不写入数据库

c# - 删除节点及其子节点

c# - 如何使用 Rx 从 SerialPort 读取数据的 "reconstruct lines"

python - 保存或读取 XML 文件不起作用