Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-21 Thread Gib Bogle
W. eWatson wrote: Mensanator wrote: On Dec 14, 8:14�pm, "W. eWatson" wrote: I think Python is capable of executing a compiled C or FORTRAN program, Sure, if it was compiled to an .exe file. and maybe even getting some parameters passed back. Sure, if the program prints to stdout. Does

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-17 Thread W. eWatson
sturlamolden wrote: On 17 Des, 03:41, "W. eWatson" wrote: His program was originally written in Python, but a new hardware device (capture card) had no good interface with Python, so he wrote it in C++, which does. From my knowledge of the Python program before the entry of c++, it seems he co

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-16 Thread Mensanator
On Dec 16, 8:41 pm, "W. eWatson" wrote: > Mensanator wrote: > > On Dec 14, 8:14 pm, "W. eWatson" wrote: > >> I think Python is capable of executing a compiled C or FORTRAN program, > > > Sure, if it was compiled to an .exe file. > > >> and maybe even getting some parameters passed back. > > > Sur

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-16 Thread sturlamolden
On 17 Des, 03:41, "W. eWatson" wrote: > His program was originally written in Python, but a new > hardware device (capture card) had no good interface with Python, so he > wrote it in C++, which does. From my knowledge of the Python program > before the entry of c++, it seems he could have farmed

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-16 Thread W. eWatson
Mensanator wrote: On Dec 14, 8:14�pm, "W. eWatson" wrote: I think Python is capable of executing a compiled C or FORTRAN program, Sure, if it was compiled to an .exe file. and maybe even getting some parameters passed back. Sure, if the program prints to stdout. Does anyone have a examp

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-14 Thread Mensanator
On Dec 14, 8:14�pm, "W. eWatson" wrote: > I think Python is capable of executing a compiled C or FORTRAN program, Sure, if it was compiled to an .exe file. > and maybe even getting some parameters passed back. Sure, if the program prints to stdout. > Does anyone have a > example of how this mi

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-14 Thread Stephen Hansen
On Mon, Dec 14, 2009 at 6:14 PM, W. eWatson wrote: > I think Python is capable of executing a compiled C or FORTRAN program, and > maybe even getting some parameters passed back. Does anyone have a example > of how this might be done? I'm running under Win XP Pro. > import subprocess proc = subp

Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-14 Thread W. eWatson
I think Python is capable of executing a compiled C or FORTRAN program, and maybe even getting some parameters passed back. Does anyone have a example of how this might be done? I'm running under Win XP Pro. -- http://mail.python.org/mailman/listinfo/python-list