C # to Python Converter

I have a large C # library that I need to convert to Python. Python is a client requirement, I cannot use any other language.

Any automatic C # to Python converter?

Edit: I need a clean Python..Net solution for me is not an option.

+7
source share
3 answers

Assuming IronPython fulfills their requirements, SharpDevelop can do this for you. I have a feeling that it will still hurt a lot.

Here is the link:

http://community.sharpdevelop.net/blogs/mattward/archive/2009/05/11/ConvertingCSharpVBNetCodeToIronPython.aspx

+4
source

You must convince your client that the python language can interact with .Net using some libraries. It would be a waste of time to rewrite the entire library in python and then check the python code for any errors.

There is a library called Python for .NET , with which you can call .net classes and functions inside your python-based code, you can create shell code to call .Net code.

If you write a wrapper class, it will be like calling python classes and functions to other python programmers.

+3
source
-3
source

All Articles