[Tutor] Executing a C Program from RH Linux in Python for Win

Michael Farnham mfarnham at acm.org
Fri Mar 20 17:39:29 CET 2009


On Fri, 2009-03-20 at 04:35 -0700, Wayne Watson wrote:
> Good. Thanks.
> 
> Here's my code.
> ==========
> # Executing a Linux program under Win XP
> from subprocess import call
> myProg = call(["C:\Sandia_Meteors\Various\FuzzyLogic\wolf", "-h"])


If I understand your question - A C program which runs in Linux
cannot run in Microsoft Windows without being recompiled. I know
that many of the people who have replied in this thread know this
so maybe I misunderstood the question.

HTH
Mike




More information about the Tutor mailing list