CD insert/eject detection

shandy.b at shandy.b at
Tue Mar 13 19:34:34 CET 2007

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().


On Mar 13, 7:54 am, "Mark Bryan Yu" <vaf... at> 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?

More information about the Python-list mailing list