You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import ctypes
|
|
import time
|
|
import platform
|
|
|
|
|
|
class EasterEgg():
|
|
def openTray(self):
|
|
if platform.system() == 'Linux':
|
|
os.system("eject -t cdrom")
|
|
else:
|
|
ctypes.windll.winmm.mciSendStringW("set cdaudio door open", None, 0, None) |