[wingide-users] Sending keystrokes to an app being debugged

Russell Warren rwarren at picarro.com
Tue Mar 21 16:42:16 EST 2006


Ah... I should have mentioned I was using msvcrt.kbhit().  

Does kbhit() fall under the "something like curses" category? :)

Russ

-----Original Message-----
From: Wingware Support [mailto:support at wingware.com]
Sent: Tuesday, March 21, 2006 4:37 PM
To: Russell Warren
Cc: wingide-users at wingware.com
Subject: Re: [wingide-users] Sending keystrokes to an app being debugged


On Tue, 21 Mar 2006, Russell Warren wrote:
> Is there any way to do this in the IDE itself (ie: not setting up an External console)?

If you're calling input() or raw_input() or reading on stdin, 
Wing should redirect that to the Debug I/O tool so you can
enter key strokes there.

However, you may need to use a console if it's not line oriented 
I/O (I'm not sure now) and certainly if you use something like 
curses.

Stephan Deibel

--
Wingware
Wing IDE for Python
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list