zoukankan      html  css  js  c++  java
  • Python for .NET

    Python for .NET 是一个可以让 Python 程序员近乎无缝的集成 .NET 通用语言环境 CLR 和以及为 .NET 开发者提供一个强大的应用脚本工具。通过这个项目你可在 .NET 中完全使用 Python 来编写整个应用,使用 .NET 服务和组件。

    这个包并没有用 CLR 语言实现一个 Python,也不将 Python 代码生成受管代码 (IL),只是在 .NET 环境中集成了 C Python 引擎。

    示例代码:

    from System.Collections.Generic import Dictionary from System import *  dict1 = Dictionary[String, String]() dict2 = Dictionary[String, Int32]() dict3 = Dictionary[String, Type]()
  • 相关阅读:
    最短路小变形
    最短路
    bfs + 路径输出
    优先队列
    dijkstra
    重载运算符-operator
    最短路
    二分图匹配
    依赖型的关系建立
    string 类
  • 原文地址:https://www.cnblogs.com/shihao/p/2701024.html
Copyright © 2011-2022 走看看