I am going to complete a .NET project: we need to create a program that uses some existing C # code, and I hope to use IronPython. (I am an experienced Python programmer, but a bit new to .NET.)
My question is: Is IronPython suitable for using mostly C # code, or would it be better to just use C #? If IronPython works well, are there any pitfalls to look for?
You need to compile C # code into an assembly (DLL), which you can use in IronPython. Once you do this, IronPython can use this, like any other .NET assembly.
This is a common use case for IronPython.
Windows , , IronPython.
Python, .NET. , , , .., .
Visual Studio . Notepad ++ - , . IDE, SharpDevelop. , VS2010, Ironpython .
Ironpython 2.7 .NET 4.0 .
WPF XAML , wx .
Ironpython exe
, .
Ironpython, CPython, .
Python, pyd, , Ironclad, .
-, Mono, , WPF.
. Ironpython 2.7 Beta 1 , Microsoft . MS . 2.7 RTM , 3.x.
Source: https://habr.com/ru/post/1789828/More articles:How to check HttpListener () using localhost? - c #Проблема с вставкой данных в таблицу - objective-cWhat design pattern should be used to model Person-Role relationships? - javaPythonic way to conditionally iterate over items in a list - pythonEffective definition of set boundaries - language-agnosticDoes anyone know about a Perl authenticator - debuggingDetect if data is changed to jQuery.load () - jquerysilverlight object border - htmlC ++: address of links? - c ++visualize C ++ data structure - c ++All Articles