On Dec 13, 9:09 pm, MRAB wrote:
> Aaron Brady wrote:
> > On Dec 13, 7:51 pm, Grant Edwards wrote:
> >> On 2008-12-14, MRAB wrote:
>
> I am writing a C process and I want to read data from a file that I
> write to in Python. I'm creating a pipe in Python, passing it to the
> C pro
On Dec 14, 6:32 am, bobicanprogram wrote:
> On Dec 13, 10:09 pm, MRAB wrote:
>
>
>
> > Aaron Brady wrote:
> > > On Dec 13, 7:51 pm, Grant Edwards wrote:
> > >> On 2008-12-14, MRAB wrote:
>
> > I am writing a C process and I want to read data from a file that I
> > write to in Python.
On Dec 13, 10:09 pm, MRAB wrote:
> Aaron Brady wrote:
> > On Dec 13, 7:51 pm, Grant Edwards wrote:
> >> On 2008-12-14, MRAB wrote:
>
> I am writing a C process and I want to read data from a file that I
> write to in Python. I'm creating a pipe in Python, passing it to the
> C pr
Aaron Brady wrote:
On Dec 13, 7:51 pm, Grant Edwards wrote:
On 2008-12-14, MRAB wrote:
I am writing a C process and I want to read data from a file that I
write to in Python. I'm creating a pipe in Python, passing it to the
C process, and calling '_read'. It gives me error 9, bad file nu
On Dec 13, 7:51 pm, Grant Edwards wrote:
> On 2008-12-14, MRAB wrote:
>
>
>
> >> I am writing a C process and I want to read data from a file that I
> >> write to in Python. I'm creating a pipe in Python, passing it to the
> >> C process, and calling '_read'. It gives me error 9, bad file numbe
On 2008-12-14, MRAB wrote:
>> I am writing a C process and I want to read data from a file that I
>> write to in Python. I'm creating a pipe in Python, passing it to the
>> C process, and calling '_read'. It gives me error 9, bad file number.
>>
>> Python code:
>>
>> import subprocess as s, o
Aaron Brady wrote:
Hi,
I am writing a C process and I want to read data from a file that I
write to in Python. I'm creating a pipe in Python, passing it to the
C process, and calling '_read'. It gives me error 9, bad file number.
Python code:
import subprocess as s, os
r, w= os.pipe( )
os.wr
Hi,
I am writing a C process and I want to read data from a file that I
write to in Python. I'm creating a pipe in Python, passing it to the
C process, and calling '_read'. It gives me error 9, bad file number.
Python code:
import subprocess as s, os
r, w= os.pipe( )
os.write( w, 'abcdefghij\n