notification for cd insertion

Qiangning Hong hongqn at gmail.com
Sun Dec 5 01:40:23 EST 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