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

Hello

how can i call a C# file from python?
shazz0020
 
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
we will be moving to python-forum.io on October 1 2016
more details here
User avatar
metulburr
 
Posts: 2228
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.
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
micseydel
 
Posts: 2994
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests