Can i use all standard Python libraries with IronPython or

懵懂的女人 提交于 2019-11-30 19:34:56

It depends:

  • If a library module is implemented in pure python, it is likely to work.
  • A library module that is implemented in C will not work. The ironclad project aims to allow IronPython to import and use compiled Python C extensions.
Artsiom Rudzenka

No - you can't use all standard libraries. And even all existing IronPython standard libraries are not the same as in python - all of them are new implementation - for example you can use datetime python module but it doesn't have strptime implementation as in pure python and so on.

You can read more here and Does IronPython implement python standard library?

In general IronPython 2.6 is an implementation of Python 2.6 but not all standard python modules were migrated into the IronPython.

Also you can read the following IronPython vs. Python .NET

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!