notification for cd insertion

Qiangning Hong hongqn at
Sun Dec 5 07:40:23 CET 2004

I want one of my function to execute when a cdrom is inserted.  How can 
I achieve that?

Further more, I want to do different things depend on the inserted disc 
type: if it is a normal cd-rom, read from it; if it is a recordable cd, 
write data on it.  So, how can I get the inserted disc type infomation 
in Python code?

thanks in advance.

More information about the Python-list mailing list