notification for cd insertion

Qiangning Hong hongqn at gmail.com
Sun Dec 5 01:42:19 EST 2004


Qiangning Hong wrote:
> 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.
> 

Sorry I forgot the important info:  my platform is a Windows 2000 box.




More information about the Python-list mailing list