home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / TEST_WINSOUND.PY < prev    next >
Encoding:
Text File  |  2000-09-28  |  210 b   |  8 lines

  1. # Ridiculously simple test of the winsound module for Windows.
  2.  
  3. import winsound
  4. for i in range(100, 2000, 100):
  5.     winsound.Beep(i, 75)
  6. print "Hopefully you heard some sounds increasing in frequency!"
  7.  
  8.