Re: [python-win32] win32pipe and buffer size

2005-07-12 Thread Frank Guenther
Thanks for the reply, but it seems I run into the same problem like before when I use the subprocess module. I modified your example in the following way: echo.py import sys if __name__ == '__main__': while 1: indata = sys.stdin.readline() if indata=='end\n': break

Re: [python-win32] win32pipe and buffer size

2005-07-12 Thread Mark Hammond
if __name__ == '__main__': child = subprocess.Popen( ['python', 'echo.py'], Try adding -u as an option to Python - this will force Python to reopen stdout etc as unbuffered (ie, the problem is the client is buffering) Mark ___

Re: [python-win32] com server with py2exe fails to import standard module

2005-07-12 Thread Bill Papadopoulos
Dear Amit Upadhyay, Try using cx_Freeze http://starship.python.net/crew/atuining/cx_Freeze/ Bill Vax PAPADOPOULOS __[EMAIL PROTECTED][EMAIL PROTECTED] ___ Python-win32 mailing list Python-win32@python.org

Re: [python-win32] com server with py2exe fails to import standard module

2005-07-12 Thread Konstantin Veretennicov
On 7/11/05, Amit Upadhyay [EMAIL PROTECTED] wrote: Hi, I have a COM server which is working fine on my development machine, [snip] But when I tranfer it to some other machine, i can not create an inproc instance of it using win32com.client.dispatch, it gives me: Python 2.3.5 (#62, Feb

[python-win32] list/kill processes on Win9x and NT+...

2005-07-12 Thread Ray Schumacher
I had looked over the methods to list/kill processes on Win32, and could not (yet) find a pure Python way to do it that works on 9x, since I could not get win32pdhutil to work on 98. So, I combined subprocess.py and pv.exe from http://www.xmlsp.com/pview/PrcView.zip and wrote a quick app to kill

Re: [python-win32] list/kill processes on Win9x and NT+...

2005-07-12 Thread Gabriel Genellina
At Tuesday 12/7/2005 14:04, Ray Schumacher wrote: I had looked over the methods to list/kill processes on Win32, and could not (yet) find a pure Python way to do it that works on 9x, since I could not get win32pdhutil to work on 98. So, I combined subprocess.py and pv.exe from

Re: [python-win32] list/kill processes on Win9x and NT+...

2005-07-12 Thread RayS
Ah, now I just found after searching for CreateToolhelp32Snapshot http://sourceforge.net/mailarchive/message.php?msg_id=8291643 Thanks Gabriel, Ray At 07:46 PM 7/12/2005, Gabriel Genellina wrote: At Tuesday 12/7/2005 14:04, Ray Schumacher wrote: I had looked over the methods to list/kill