On Sun, 2017-05-07 at 21:02 -0700, pythonis...@gmail.com wrote: > Yes I did just as you said. In the else block the print statement > execute but the paused() function did not execute. > Any help please. > the complete code is in the test.py.
OK, one last issue I can see: pygame.mixer.init() pygame.mixer.music.load(track) This should only be run once. So, either run at the beginning of the program or in the Test: __init__() method.
signature.asc
Description: This is a digitally signed message part