From: Bruce S. <ba...@an...> - 2001-12-11 05:14:10
|
At vpython.org is a new Windows VPython to go with the beta version of Python 2.2 (final release scheduled for Dec. 19). This has new mouse machinery; see the on-line documentation. Though I've played with it quite a bit, feedback may lead to changes. It does maintain the old meaning of getclick(), so I think old programs should continue to work as before. Thanks to work by Ari Heitner and David Andersen there is also machinery for reading the keyboard, but no documentation yet: the basic element is scene.kb.getkey() which gives you a character string suitable for printing. Bruce Sherwood |