[Tutor] RE: [Pythonmac-SIG] cls(),inkey(),prompt()
Tue, 05 Feb 2002 07:59:43 -0500
I would definitely have a use for those routines.
From: Christopher Smith [mailto:firstname.lastname@example.org]
Sent: Tuesday, February 05, 2002 2:35 AM
Subject: [Pythonmac-SIG] cls(),inkey(),prompt()
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.
Pythonmac-SIG maillist - Pythonmac-SIG@python.org