Hi;
How can I know the Key c and Ctrl on the keyboard are pressed? Or how
to let the program press the
key Ctrl+c automatically? I just want to use python to develop a
script program.
gear
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Hi;
How can I know the Key c and Ctrl on the keyboard are pressed? Or how
to let the program press the
key Ctrl+c automatically? I just want to use python to develop a
script program.
gear
depends on where you got your input from and what do you exactly want
eg:
On 30 Jan 2007 05:44:40 -0800, Szabolcs Nagy [EMAIL PROTECTED] wrote:
however Ctrl+C is a special key combination: running python in a unix
terminal it raises KeyboardInterrupt exception, imho in a windows cmd
promt it raises SystemExit
No it is KeyboardInterrupt in Windows too.
--
mvh Björn
Szabolcs Nagy [EMAIL PROTECTED] wrote:
however Ctrl+C is a special key combination: running python in a
unix
terminal it raises KeyboardInterrupt exception, imho in a windows
cmd
promt it raises SystemExit
Your humble opinion is wrong.
Under windows Ctrl-C raises KeyboardInterrupt just
En Tue, 30 Jan 2007 05:50:29 -0300, [EMAIL PROTECTED] escribió:
How can I know the Key c and Ctrl on the keyboard are pressed? Or how
to let the program press the
key Ctrl+c automatically? I just want to use python to develop a
script program.
gear
If you are on Windows and want to trap