Skip to content
kopierreko edited this page Mar 16, 2016 · 1 revision

import pygame import time pygame.init() pygame.mixer.music.load('audio.mp3') pygame.mixer.music.play(1, 0.0) while True : print(pygame.mixer.music.getpos()) time.sleep(0.1)

Clone this wiki locally