IronPython是否实现python标准库? [英] Does IronPython implement python standard library?

查看:80
本文介绍了IronPython是否实现python标准库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我前段时间尝试过IronPython,似乎它仅实现python语言,并使用.NET编写库.还是这样吗?可以使用IronPython的python模块吗?

I tried IronPython some time ago and it seemed that it implements only python language, and uses .NET for libraries. Is this still the case? Can one use python modules from IronPython?

推荐答案

IronPython安装程序包括Python标准库.否则,您可以使用兼容的Python安装中的标准库(IPy 2.0-> CPy 2.5,IPy 2.6-> CPy 2.6).将Python Lib目录复制到IronPython文件夹,或设置IRONPYTHONPATH.

The IronPython installer includes the Python standard library. Otherwise, you can use the standard library from a compatible Python install (IPy 2.0 -> CPy 2.5, IPy 2.6 -> CPy 2.6). Either copy the Python Lib directory to the IronPython folder, or set IRONPYTHONPATH.

请注意,只有纯Pyton模块才可用;需要C扩展的Python模块必须重新实现(其中大多数已经实现).

Do note that only the pure Pyton modules will be available; Python modules that require C extensions have to be re-implemented (and most of them have been).

这篇关于IronPython是否实现python标准库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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