I see in the Python 2.2 documentation the following: Deprecated since release 2.1. Use random instead. Another reason to remove the import of whrandom from Visual. Bruce Sherwood