Skip to content Skip to sidebar Skip to footer

Can I Use All Standard Python Libraries With Ironpython Or

... does it requires some sort of wrappers? I was under expression that IronPython is a .NET implementation of the Python which somehow magically enables applications built with Ir

Solution 1:

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.

Solution 2:

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

Post a Comment for "Can I Use All Standard Python Libraries With Ironpython Or"