[Tutor] Need help with registry access

spir denis.spir at free.fr
Fri May 8 07:22:57 CEST 2009


Le Fri, 8 May 2009 01:20:32 +0100,
"Alan Gauld" <alan.gauld at btinternet.com> s'exprima ainsi:

> 
> "Christopher Barkley" <expression1987 at comcast.net> wrote 
> 
> > My friend and I are techies, he's on my LAN. I want to disable 
> > his keyboard through the registry (or some other fun way) 
> > while he's in the middle of playing starcraft by running a 
> > script through the LAN. 

> Look at the winreg module for accessing the registry.
> 
> How you do it over the LAN and how you disable the keyboard 
> I'll leave as an exercise for your investigation!
> 
> One other option is to look into using WSH via the pythonwin 
> or ctypes API.
> 

If he can do that, I'm really happy not to be a windozista!

Denis
------
la vita e estrany


More information about the Tutor mailing list