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

"Christopher Barkley" <expression1...@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!


It is trivial if he can get physical access to the computer and can install a software that will listen to a certain port to hear when to shut off the keyboard. Well, if you can get physical access to the computer, pretty much anything is possible...

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to