call c# file using python

A forum for general discussion of the Python programming language.

call c# file using python

Postby shazz0020 » Tue Jan 21, 2014 1:51 pm


how can i call a C# file from python?
Posts: 2
Joined: Tue Jan 21, 2014 1:43 pm

Re: call c# file using python

Postby metulburr » Tue Jan 21, 2014 2:01 pm

One method would be to have the OS call the program via the subprocess module
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
User avatar
Posts: 2163
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: call c# file using python

Postby micseydel » Wed Jan 22, 2014 12:47 am

I suspect IronPython has a way of doing so as well. Whether you want that or a subprocess will depend on your needs.
Join the #python-forum IRC channel on for off-topic chat!

Please prefer not to PM members. The point of the forum is so that anyone can benefit. We don't want to help you over PMs/emails/Skype chats that others can't benefit from :)
User avatar
Posts: 2919
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Discussions

Who is online

Users browsing this forum: MSNbot Media and 3 guests