[Tutor] cls(),inkey(),prompt()

Christopher Smith csmith@blakeschool.org
Tue, 05 Feb 2002 01:35:06 -0600

I have written 3 function for MacPython IDE (Carbon) which allow

1) clearing of the output window with the cls() command

2) polling the keyboard (like BASIC's inkey$() command)

3) prompting and viewing user input on the output window rather
than in a separate dialog box as is generated with input() and

All together they come to 50 lines.  If there is interest I can 
post them here or send them to interested individuals who
contact me at this address.

One thing I don't know how to do, and would appreciate some help on,
is bringing the output window to the foreground (i.e. making it
active) so the user input to the prompt can be seen in case the 
output window is initially behind the script window.