[python-win32] adding icon in an exe

2006-05-02 Thread Graeme Glass
Greetings, Does anyone know of a way to add an icon to an existing .exe file on win32 platform using win32all package? Thanks. Graeme ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] curses and _curses

2006-05-02 Thread Dean Allen Provins
Roger Upole wrote: Bill Burns wrote: On 2/05/2006 8:16 AM, Dean Allen Provins wrote: Hello: I just installed the 2.4 version of Python on a WinXP box. I then copied over my python code which runs under Linux. This code uses curses.ascii (isspace specifically). The Win version of the

Re: [python-win32] Python Programming on Win32 Book

2006-05-02 Thread EuGeNe
http://dogbert.abebooks.com/servlet/BookDetailsPL?bi=715644772searchurl=sts%3Dt%26y%3D0%26kn%3Dpython%2Bwin32%26x%3D0 Book prices are going the way gold is these days ... a precious book! EuGeNe Bill Burns wrote: Mark, Is there going to be a 2nd Edition of your Python Programming on Win32

Re: [python-win32] Python Programming on Win32 Book

2006-05-02 Thread Dana Robinson
On Tue, 2 May 2006, EuGeNe wrote: http://dogbert.abebooks.com/servlet/BookDetailsPL?bi=715644772searchurl=sts%3Dt%26y%3D0%26kn%3Dpython%2Bwin32%26x%3D0 Book prices are going the way gold is these days ... a precious book! EuGeNe I asked O'Reilly about this and they said that they were

[python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gerrat Rickert
Im logged in as an administrator on my computer (actually a domain admin) and I cant seem to get the killProcName.py program (that came with Mark Hammonds python extensions) to kill ANY process owned by SYSTEM (Ive tried a few eg. iPodService, Apache) I can open the windows task

Re: [python-win32] curses and _curses

2006-05-02 Thread John Machin
On 3/05/2006 12:44 AM, Dean Allen Provins wrote: Roger Upole wrote: Bill Burns wrote: On 2/05/2006 8:16 AM, Dean Allen Provins wrote: Hello: I just installed the 2.4 version of Python on a WinXP box. I then copied over my python code which runs under Linux. This code uses curses.ascii

Re: [python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gerrat Rickert
well, I couldnt get a pure _vbscript_ program to kill these processes either, but I did find a utility that comes with winXP: taskkill; so this works like a charm: import os name = Apache.exe os.system('taskkill /F /IM %s /T' % name)

Re: [python-win32] adding icon in an exe

2006-05-02 Thread Mark Hammond
Does anyone know of a way to add an icon to an existing .exe file on win32 platform using win32all package? With some pain :( You need to put together the .ico structure yourself and use the BeginUpdateResource() etc win32 functions. The only working code I know (off the top of my head) is in

[python-win32] Re: killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Roger Upole
You most likely need to enable the SE_DEBUG_NAME privilege. I imagine taskkill is doing that for you under the covers. hth Roger ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Python Programming on Win32 Book

2006-05-02 Thread Bill Burns
Metz, Bobby W, WWCS wrote: Yeh, Mark's first book seems to be on backorder everywhere. I've been trying to get it for some time. BN and Borders both don't have it and tell me backordered as well. I sent an email to O'Reilly earlier today. I asked them then they thought I might get the

Re: [python-win32] select.poll()

2006-05-02 Thread Gabriel Genellina
At Sunday 30/4/2006 05:04, Vahid Noroozi wrote: i have a python program that use sellect.poll() to control some sockets but in windows we doesn't have sellect.poll() You can use select.select() which is available on Windows too. asyncore.poll() is an example. also how can i find

Re: [python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gabriel Genellina
At Tuesday 2/5/2006 16:50, Gerrat Rickert wrote: I’m logged in as an administrator on my computer (actually a domain admin) and I can’t seem to get the killProcName.py program (that came with Mark Hammond’s python extensions) to kill ANY process owned by ‘SYSTEM’ (I’ve tried a few – eg.