I have a need to copy a group of files. Unfortunately these files will span multiple DVDs. What I want to do is
a) copy the files of the current DVD
b) when complete, eject the media and prompt the user to insert the next DVD
c) Detect when media is inserted
d) validate that is is the desired DVD (if not do B again)
e) copy files
f) repeat as needed
Im fairly sure I know how to do all of this except for step C. How do I detect when a new CD has been inserted?
I ended up using a combination of wmi and ctypes
pygame has a module for managing the CD/DVD drive: http://www.pygame.org/docs/ref/cdrom.html
PyMedia looks like it has what you need.