Name/ID of removable Media: how?

Heiko Selber heiko.selber at siemens.com
Tue Apr 19 06:12:06 EDT 2005


I am trying to find out (using Python under windows) the name of a CD that
is currently in the drive specified by a path name.

And while I am at it, I'd also like to know whether the specified drive
contains a CD at all, and whether the drive is actually a CD drive.

AFAIK, Python doesn't provide a way to do it, and a search in the web
yielded only soutions for Linux.

Can anyone show me a solution that works with windoze?

TIA,

Heiko





More information about the Python-list mailing list