fun with floppy disks (Windows)

Howard Lightstone howard at
Mon Aug 20 07:11:36 CEST 2001

I am trying to port across some C code to Python which (among many other
things) needs to know when a user puts a floppy into the drive and
closes the door.

The old code used _DISK_VERIFY mode to check for a floppy since (I am
led to believe from comments) it fails without the Abort/Retry junk if
there is no floppy.

Also, I guess I need to poll the status of the floppy.  Since I am using
Tkinter, what is the usual way to poll and still process events (ala
mainloop, etc.)?

More information about the Python-list mailing list