Re: compiled program input

2006-02-28 Thread mehmetmutigozel
:) yes it does. thank you very much fredrick.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: compiled program input

2006-02-28 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote:

> i have a compiled program named m.exe. when i execute it asks me to
> enter a parameter like "me.dat". the coder didn't manage the argv for
> this program and i only have the executable.
>
> is there a vay to call this executeable from python and give parameters
> to it?
>
>>m.exe
>>input1 ? me.dat
>>
>
> something like this

does

echo me.dat | m.exe

work ?

 



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: compiled program input

2006-02-28 Thread mehmetmutigozel

i found something like

import os

os.system("c\\m.exe")

but it gives

An endfile record was detected in a READ statement (unit=40).
 Error occurs at or near line 51 of _MAIN__
12

still don't have anything :(

-- 
http://mail.python.org/mailman/listinfo/python-list