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

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

        def cd_close():
	if cd.cd < 1:
		cd.open = 0
		return 0
	os.close(cd.cd)
	cd.cd   = 0
	cd.open = 0
	return 0
        


src/a/c/AccordionMega-HEAD/rtmidi/pkaudio/pk/stereo/cd_logic.py   AccordionMega(Download)
def set_dev(dev='/dev/cdrom'):
	""" Changes the CD device. Makes change. Dances poorly. """
	cd.cd_close()
	cd.cd.path = str(dev)
	cd.cd_open()