Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def get_drive_status():
#	cd_open()
	ret = 999
	ret = ioctl(cd.cd, CDROM_DRIVE_STATUS)
#	cd_close()
	return ret
        


src/a/c/AccordionMega-HEAD/rtmidi/pkaudio/pk/stereo/cd_logic.py   AccordionMega(Download)
def check_dev():
	# print cd.get_drive_status()
	try:
		return cd.get_drive_status()
	except IOError, err:

src/a/c/AccordionMega-HEAD/rtmidi/pkaudio/pk/stereo/ripper.py   AccordionMega(Download)
    def read_disc_info(self):
        """ emit an event if cd status has changed. """
        if self.is_ripping:
            return
        elif CDLow.get_drive_status() in [CDROM.CDS_TRAY_OPEN, CDROM.CDS_NO_DISC, -1]: