FW: [Tutor] simple pygame question

Gerrit Holl gerrit at nl.linux.org
Wed Sep 17 15:23:04 EDT 2003


Hi,

there is a separate pygame mailing list for pygame questions.
I don't know how to close the drive, I don't know if it's
possible (hardware-technically), never encountered software
doing it...

----- Forwarded message from GREENDAY31087 at aol.com -----

Date: Wed, 17 Sep 2003 05:45:20 +0200
Subject: [Tutor] simple pygame question
From: GREENDAY31087 at aol.com
To: tutor at python.org
X-BeenThere: tutor at python.org
Old-Date: Tue, 16 Sep 2003 23:44:11 EDT
X-Mailer: 8.0 for Windows sub 910
Sender: Gerrit Holl <gerrit at nl.linux.org>

This is the code to eject cd/open cd player:
import pygame 
pygame.cdrom.init() 
CD = pygame.cdrom.CD(0) 
CD.init() 
CD.eject() 
How do I make the drive close?



_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor


----- End forwarded message -----

yours,
Gerrit.

-- 
174. If she bear no sons to her second husband, the sons of her first
husband shall have the dowry.
        -- 1780 BC, Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
	http://www.sp.nl/



More information about the Tutor mailing list