I've never used it myself, but pygame (based on SDL - so it should work for MS Windows, Linux, and Apple OSX) has a CD module with some potentially useful functions, CD.eject() and CD.get_empty().
http://www.pygame.org/docs/ref/cdrom.html#pygame.cdrom.CD -sjbrown On Mar 13, 7:54 am, "Mark Bryan Yu" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to make a Audio CD ripper using python. > > is there a way (library, module, etc) to detect when a CD was inserted > or ejected? -- http://mail.python.org/mailman/listinfo/python-list