hi all,

pls advise on:

Can Python 2.6.6 scripts be converted to .dll and read by C sharp?
Can Python 2.6.6 scripts be converted to .exe and read by C sharp?


thanks
tcl

A first hint from the IronPython faq http://ironpython.codeplex.com/wikipage?title=FAQ :

How do I compile .py files to a DLL for linking into my C# or VB program?

IronPython does not support building DLLs for a C# style of linking and calling into Python code. You can define interfaces in C#, build those into a DLL, and then implement those interfaces in Python code as well as pass the python objects that implement the interfaces to C# code.

thanks. What are major differences using Iron Python vs Python 2.6.6?

thanks. What are major differences using Iron Python vs Python 2.6.6?

With ironpython you can use the .Net(framework)library.
Same as Jython there you can use java library.
You write in python,and import from Net library.

IronPython is an implementation of the Python programming language running under .NET and Silverlight. It supports an interactive console with fully dynamic compilation. It's well integrated with the rest of the .NET Framework and makes all .NET libraries easily available to Python programmers, while maintaining compatibility with the Python language. There also is Visual Studio tooling integration.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.