"Erik Johnson" <ej at somewhere.com> <> typed > Aside from the obvious security issues such a program would > represent (and your name and signature are curious in that respect as > well), you are basically asking for functionality (i.e., a key logger) > I believe to be outside what is offered by Python and/or the API of > most operating systems.
I agree on the security issues, and on the statement, that writing a key logger is outside the scope of the standard python library. But it is easily possible to write a key logger using the API of common operating systems. Windows provides hooks for intercepting messages from input devices such as keyboard and mouse. On Linux you can either write a kernel module, which is the less portable, but more effective way, or you can code a X11 key logger, which will also work on other unix-like systems with a working X11 installation. -- Freedom is always the freedom of dissenters. (Rosa Luxemburg) -- http://mail.python.org/mailman/listinfo/python-list