/F > import random, winsound Now if it only worked for my mac ... :) Andrew dalke at dalkescientific.com