Re: subprocess -popen - reading stdout from child - hangs

2007-09-22 Thread Suresh Babu Kolla
[EMAIL PROTECTED] wrote: > Let's say I have this Python file called loop.py: > > import sys > print 'hi' > sys.stdout.flush() > while 1: > pass > > And I want to call it from another Python process and read the value > 'hi'. How would I do it? > > So far I have tried this: > proc = su

Re: module: zipfile.writestr - line endings issue

2007-08-15 Thread Suresh Babu Kolla
Paul Carter wrote: > On Aug 14, 1:32 pm, towers <[EMAIL PROTECTED]> wrote: >> Thanks - your code works for me also. >> >> But I still get the issue when I read the file directly and add it to >> the archive. >> >> Say if I: >> >> 1. Use the test.csv file created with your code - currently the line