[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] toggle between play pause and unpause



On Sun, 2017-05-07 at 21:02 -0700, pythonist12@xxxxxxxxx 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.

Attachment: signature.asc
Description: This is a digitally signed message part