Always use ReplyAll to include the mailing list.
The _winreg module is part of the standard library and provides functions for accessing the Windows registry. But you need to learn enough about Python to be able to use modules and functions. You will also need to know enough about Windows internals to manage the keyboard. I suggest you start with a beginners python tutorial. If you have never programmed before then look at the non programmers list (or just try mine), if you have programmed in another language try the official tutorial http://wiki.python.org/moin/BeginnersGuide/NonProgrammers http://docs.python.org/tutorial/ Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ ----- Original Message ---- > From: Christopher Barkley <expression1...@comcast.net> > To: Alan Gauld <alan.ga...@btinternet.com> > Sent: Friday, 8 May, 2009 5:09:25 AM > Subject: Re: [Tutor] Need help with registry access > > no idea what any of that means. Total newb. Examples would help. > ----- Original Message ----- From: "Alan Gauld" > To: > Sent: Thursday, May 07, 2009 5:20 PM > Subject: Re: [Tutor] Need help with registry access > > > > > > "Christopher Barkley" 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 > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor