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
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1469
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 irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1354
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 3 guests