notification for cd insertion

Q

Qiangning Hong

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,212
Messages
2,571,102
Members
47,697
Latest member
looped_monk

Latest Threads

Top