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 still remember
how upset everyone was when we introduced papyrus.
___
python-win32 mailing list
python-win32@
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 s
> -Original Message-
] On Behalf Of Dahlstrom, Roger
> Sent: 23 June 2008 11:55
> Cc: [email protected]
> 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 t
+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
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 this:
import win32serviceutil
serviceState = win32serviceutil.QueryServiceStatus('VNC Server')[1]
This works in 9
Mike 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 that, didn't you?)
Example you can modify:
http://tgolden.sc.s
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 this:
import win32serviceutil
serviceState = win32serviceutil.QueryServiceStatus('VNC Server'
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 this:
import win32serviceutil
serviceState = win32serviceutil.QueryServic
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 o
Tim,
Mike
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 that, didn't you?)
I knew you'd have some idea...you a
Roger Upole wrote:
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 this:
import win32serviceutil
serviceState = win32ser
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')
@-salu
Mike Driscoll wrote:
Tim,
Mike
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 that, didn't you?)
I knew you'd
13 matches
Mail list logo