Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
#!/usr/bin/python import aud, sys, time device = aud.Device() sound = aud.Sound.file(sys.argv[1]) handle = device.play(sound) while handle.status: time.sleep(0.1)