Re: [python-win32] P3K?

2008-06-23 Thread Gerdus van Zyl
And of course REAL programmers use butterflies. http://xkcd.com/378/ On Mon, Jun 23, 2008 at 12:54 PM, Dahlstrom, Roger [EMAIL PROTECTED] wrote: Well *I* used to line up rocks in to ones and zeros. Then I had a toucan that would interpret them, and chisel the gui on to a stone tablet. I

Re: [python-win32] P3K?

2008-06-23 Thread English, Mark
-Original Message- ] On Behalf Of Dahlstrom, Roger Sent: 23 June 2008 11:55 Cc: python-win32@python.org Subject: Re: [python-win32] P3K? Well *I* used to line up rocks in to ones and zeros. Then I had a toucan that would interpret them, and chisel the gui on to a stone tablet.

Re: [python-win32] P3K?

2008-06-23 Thread Gerrat Rickert
+1 for APL integration! ;o) Numpy is nice, but can't touch APL... ...of course, it wasn't a challenge to write an obfuscated one-liner in APL - it was standard practice! Gerrat Rickert -Original Message- From: bob gailer [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 10:40

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Kevin Horn
Also check the permissions on the problem users registry. I would expect that to cause a different error, but it might be worth checking. Kevin Horn On Mon, Jun 23, 2008 at 2:25 PM, Roger Upole [EMAIL PROTECTED] wrote: Mike Driscoll wrote: Mike Driscoll wrote: Hi, In one of my login

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Mike Driscoll
Tim, div class=moz-text-flowed style=font-family: -moz-fixedMike Driscoll wrote: [... snip problems checking service status ...] Well I've no idea if this suggestion will actually work round whatever the issue is but... ... you can use WMI to query service info. (You knew I was going to say

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Mike Driscoll
Roger Upole wrote: div class=moz-text-flowed style=font-family: -moz-fixed Mike Driscoll wrote: Mike Driscoll wrote: Hi, In one of my login scripts for work, I run a query to see if the VNC service is running using the win32serviceutil module. The code for that I am using looks something like

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Michel Claveau
Hi! Can you try to wrap command-line SC? Example of command-line : sc query winvnc Example of wrap: def clwrap(commande, cdir='.'): import os if cdir!='.':os.chdir(cdir) a = os.popen(commande) return a.read() print clwrap('sc query winsvc')

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Tim Golden
Mike Driscoll wrote: Tim, div class=moz-text-flowed style=font-family: -moz-fixedMike Driscoll wrote: [... snip problems checking service status ...] Well I've no idea if this suggestion will actually work round whatever the issue is but... ... you can use WMI to query service info. (You