"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.

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

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

Reply via email to